PathCollectionExcludeTrailingPathDelimiter Method |
Makes sure that the given paths does not end with System.IO.Path.DirectorySeperatorChar.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public static string ExcludeTrailingPathDelimiter(
string aPath
)
Public Shared Function ExcludeTrailingPathDelimiter (
aPath As String
) As String
public:
static String^ ExcludeTrailingPathDelimiter(
String^ aPath
)
static member ExcludeTrailingPathDelimiter :
aPath : string -> string
Parameters
- aPath
- Type: SystemString
A directory path
Return Value
Type:
StringThe given path without a trailing DirectorySeperatorChar
See Also