lastPathComponent
-
function
-
The lastPathComponent() function accepts a file path as a parameter and returns the final component of that path
-
Examples: +
put the lastPathComponent of "/tmp/me/help.txt" —> "help.txt"
note
This page is under construction: it has not been reviewed for completeness.