[This is preliminary documentation and is subject to change.]
removes the last directory separator from the path. No action is taken
if there is no directory separator at the end of the string.
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static string RemoveLastDirectorySeparator( string str ) |
Visual Basic (Declaration) |
---|
Public Shared Function RemoveLastDirectorySeparator ( _ str As String _ ) As String |
Visual C++ |
---|
public: static String^ RemoveLastDirectorySeparator( String^ str ) |
Parameters
- str
- Type: System..::.String
The input string path.