...
Returns the name portion of a file path, including the extension.
Scroll pagebreak |
---|
Examples
Code Block | ||
---|---|---|
| ||
// Get the name of a file path. |
...
string $name; |
...
string $path = "c:/temp/take25.c3d"; |
...
...
// Should print "take25.c3d" |
...
$name = `getFileName $path`; |
...
print $name; |
Additional information
Related commands
...