Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the name portion of a file path, including the extension.

Scroll pagebreak

Examples

Code Block
languagetext
// 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

...