Split the file name in its path parts by tokenizing with sparatorChar.
Returning an array of Strings.
Namespace: BasicCard.BasicCards.FileSysAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public static string[] SplitPath(
string filename
) |
Visual Basic |
---|
Public Shared Function SplitPath (
filename As String
) As String() |
Visual C++ |
---|
public:
static array<String^>^ SplitPath(
String^ filename
) |
F# |
---|
static member SplitPath :
filename : string -> string[]
|
Parameters
- filename
- Type: System..::..String
filename to analyze
Return Value
Type:
array<String>[]()[][]path parts from topmost parent directory to file itself
See Also