FilePathGetFileNameWithoutExtension Method

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

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static string GetFileNameWithoutExtension(
	string filePath
)

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