W
Wild Pete
Is there an equivalent to a "basename" in javascript
that returns the last part of a file name?
For example, given "C:\My Documents\test.txt" and
"/usr/local/test.txt", both should return "test.txt".
Any help would be appreciated.
that returns the last part of a file name?
For example, given "C:\My Documents\test.txt" and
"/usr/local/test.txt", both should return "test.txt".
Any help would be appreciated.