Returns the file of folder name ONLY from the full folder path.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static string GetFileOrFolderName( string fullPath ) |
Visual Basic |
---|
Public Shared Function GetFileOrFolderName ( fullPath As String ) As String |
Visual C++ |
---|
public: static String^ GetFileOrFolderName( String^ fullPath ) |
F# |
---|
static member GetFileOrFolderName : fullPath : string -> string |
Parameters
- fullPath
- Type: System..::..String
Full path (c:\dir\file.txt)