An NDoc Documented Class Library

PathUtil.GetFileNameWithoutExtension Method (Char, String)

Returns the filename of the specified path without the extension.

public static string GetFileNameWithoutExtension(
   char separator,
   string path
);

Parameters

separator
path
Absolute or relative path

Return Value

Filename of the specified path without the extension.

See Also

PathUtil Class | EnterpriseDT.Util Namespace | PathUtil.GetFileNameWithoutExtension Overload List