PathCollectionExcludeTrailingPathDelimiter Method |
Makes sure that the given paths does not end with System.IO.Path.DirectorySeperatorChar.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic 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 String
- A directory path
Return Value
StringThe given path without a trailing DirectorySeperatorChar
See Also