getFileFromPath

Extracts a filename from an absolute path.

getFileFromPath(path) → returns string

getFileFromPath Argument Reference

path string
Required

Examples sample code invoking the getFileFromPath function

getFileFromPath("C:\temp\file.txt")

Expected Result: file.txt


Fork me on GitHub