FilePathGetFileNameWithoutExtension Method
Gets the file name without extension from the specified file path.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static string GetFileNameWithoutExtension(
string filePath
)
Public Shared Function GetFileNameWithoutExtension (
filePath As String
) As String
public:
static String^ GetFileNameWithoutExtension(
String^ filePath
)
Gemstone.IO.FilePath.GetFileNameWithoutExtension = function(filePath);
- filePath String
- The file path from which the file name is to be obtained.
StringFile name without the extension if the file path has it; otherwise empty string.