AbstractPath.GetFileNameWithoutExtension

AbstractPath.GetFileNameWithoutExtension method

Returns the file name of this AbstractPath without the extension.

public string GetFileNameWithoutExtension()

Return Value

The string returned by GetFileName minus the last period and all characters following it.

Examples

For an AbstractPath with Location equal to "/directory/file.txt" and Separator equal to '/', this method returns "file".

See Also