







![]() ![]() |
MCManager API Reference |
PathUtils..::.RemoveTrailingSlash Method |
PathUtils Class See Also Send Feedback |
Removes any trailing slash from a path. For example /my/path/ will be converted to /my/path.
Namespace:
Moxiecode.Manager.Utils
Assembly:
MCManager (in MCManager.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static string RemoveTrailingSlash( string path ) |
Visual Basic (Declaration) |
---|
Public Shared Function RemoveTrailingSlash ( _ path As String _ ) As String |
Visual C++ |
---|
public: static String^ RemoveTrailingSlash( String^ path ) |
Parameters
- path
- Type: System..::.String
Path to remove trailing slashes from.