FileHelper.GetFileNameWithoutExtension Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

GetFileNameWithoutExtension(String)

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

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

public static string GetFileNameWithoutExtension(string path)

Parameters

path
System.String

Returns

System.String