Exercise: split path - filename/dirname - video
Given a path like /home/foo/.mozilla/cache/data.txt, return the filename (data.txt), and return the full-path directory name (/home/foo/.mozilla/cache).
Handle also the case of c:\home\foo\.mozilla\cache\data.txt.
Published on 2015-08-01
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub. Comment on this post