Go to: Return value. Arguments. Examples.
| Variable Name | [Variable type] | Description |
|---|---|---|
$path | string |
string $path = "/usr/people/gamera/gamera.mel"; string $dirname = dirname( $path ); // Result: /usr/people/gamera // string $ntPath = "C:/aw/godzilla/hello.c"; dirname( $ntPath ); // Result: C:/aw/godzilla //