Click or drag to resize

FilePathGetFileNameWithoutExtension Method

Gets the file name without extension from the specified file path.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntax
public static string GetFileNameWithoutExtension(
	string filePath
)
View Source

Parameters

filePath  String
The file path from which the file name is to be obtained.

Return Value

String
File name without the extension if the file path has it; otherwise empty string.
See Also