Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".
Namespace: EnterpriseDT.UtilAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
C# |
---|
public static string[] Fix( char separator, string[] path ) |
Visual Basic |
---|
Public Shared Function Fix ( _ separator As Char, _ path As String() _ ) As String() |
Visual C++ |
---|
public: static array<String^>^ Fix( wchar_t separator, array<String^>^ path ) |
Parameters
- separator
- Type: System..::..Char
- path
- Type: array<System..::..String>[]()[][]
Path to clean up as an array of strings where each string is a single directory.