PathRemoveTrailingDirectorySeparator Method (String) |
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string RemoveTrailingDirectorySeparator(
string path
)
Public Shared Function RemoveTrailingDirectorySeparator (
path As String
) As String
public:
static String^ RemoveTrailingDirectorySeparator(
String^ path
)
static member RemoveTrailingDirectorySeparator :
path : string -> string
Parameters
- path
- Type: SystemString
A text string from which the trailing DirectorySeparatorChar is to be removed, when present.
Return Value
Type:
StringA text string where the trailing
DirectorySeparatorChar character has been removed. The function returns
when
path is
.
See Also