Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".
Namespace: EnterpriseDT.UtilAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
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.