Return the last portion of a path. Similar to the Unix basename command. Often used to extract the file name from a fully qualified path.
The path to evaluate.
Optional
An extension to remove from the result.
Return the last portion of a path. Similar to the Unix basename command. Often used to extract the file name from a fully qualified path.