I am sure this is a straightforward answer to this question, but if I have the following:
full_path[i] = "C:\dir1\dir2\dir3\dir4\file.xlsx"
and I want to get just "file.xlsx" and the directory depth is variabile, i.e. maybe 2 directories maybe 5, how would I do it? In Perl I would split the string into an array by the \ and grab the last part of the array, but not sure how to do this in JSL. Any help would be appreciated!