script (MEL) |
Only available in MEL |
basenameEx |
In categories: Language, Strings |
Go to: Synopsis. Return value. MEL examples.
string basenameEx(string $path)
An extension of basename(), this convenience procedure returns the
base name of $path, without the directory or the file extension.
See also basename() and fileExtension().
None
basenameEx("/usr/people/gamera/gamera.mel");
// Result: gamera //
basenameEx("C:/aw/godzilla/hello.c");
// Result: hello //