Méthode | Description | |
---|---|---|
SplitNested ( string format, char splitChar ) : string[] |
Enhances String.Split by ignoring any characters that are between the nested characters. It also allows you to stop after a certain number of splits. Example: SplitNested("a|b{1|2|3}|c", "|"c) = {"a", "b{1|2|3}", "c"} SplitNested("a|b{1|2|3}|c", "|"c, 2) = {"a", "b{1|2|3}|c"}
|
|
SplitNested ( string format, char splitChar, int maxItems ) : string[] |
public static SplitNested ( string format, char splitChar ) : string[] | ||
format | string | |
splitChar | char | |
Résultat | string[] |
public static SplitNested ( string format, char splitChar, int maxItems ) : string[] | ||
format | string | |
splitChar | char | |
maxItems | int | |
Résultat | string[] |