C# Class StringFormatEx.Plugins.Core.ParsingServices

Afficher le fichier Open project: qstarin/StringFormatEx

Méthodes publiques

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[]

Method Details

SplitNested() public static méthode

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"}
public static SplitNested ( string format, char splitChar ) : string[]
format string
splitChar char
Résultat string[]

SplitNested() public static méthode

public static SplitNested ( string format, char splitChar, int maxItems ) : string[]
format string
splitChar char
maxItems int
Résultat string[]