
Mini Parser
By:
Shadowhand on
Feb 27th, 2013 | syntax:
C# | size: 0.31 KB | hits: 150 | expires: Never
string[] Parse(string toBeParsed, string Condition) {return toBeParsed.Split(new string[] {Condition},StringSplitOptions.RemoveEmptyEntries);}
/*
Tiniest readable parser code. Parses the given string with the given condition and puts them in an array.
Usage:
string[] Parsed = Parse(textToBeParsed, Condition);
*/