Returns the file name and extension of the specified path string.
- Parameters
-
path | The path string from which to obtain the file name and extension. |
- Returns
- The characters after the last directory separator character in path. If the last character of path is a directory or volume separator character, this method returns string empty ("").