View difference between Paste ID: XKqR4Qcs and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | string[] Parse(string toBeParsed, string Condition) {return toBeParsed.Split(new string[] {Condition},StringSplitOptions.RemoveEmptyEntries);} |
2 | ||
3 | /* | |
4 | Tiniest readable parser code. Parses the given string with the given condition and puts them in an array. | |
5 | Usage: | |
6 | string[] Parsed = Parse(textToBeParsed, Condition); | |
7 | */ |