Function
basename
Synopsis
basename(string, string ...): string
- Area
Runtime\PS\Files\basenameareas
Description
basename returns the trailing name component of $path, less $suffix when the name ends with it. The empty and root paths answer "", as PHP's do.
Usage
$value = basename($arguments);
$fn = basename(...);