xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_file_name()

static xtd::string xtd::io::path::get_file_name ( const xtd::string path)
static

Returns the file name and extension of the specified path string.

Parameters
pathThe 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 ("").
Remarks
The separator characters used to determine the start of the file name are directory_separator_char and alt_directory_separator_char.