GetFileName
The GetFileName function returns the file name from a file path.
Syntax :
GetFileName(FilePath)
Parameters | Description |
---|---|
FilePath | Required. The FilePath is the path (absolute or relative) to a specific file. |
Example
dGetFileName = GetFileName("C:\Temp\Test.txt")
- dGetFileName has been set to text.txt