string GetBaseName (string path)
 
Gets the base name of any path. It handles as separators: '\' and '/'. If the path ends with a separator or it's an empty string then it returns an empty string.
Parameters:
path
The relative or absolute path.
Returns:
A base name string.
Was this helpful?
Last modified date: 10/14/2020