daily pastebin goal
44%
SHARE
TWEET

Mini Parser

Shadowhand Feb 27th, 2013 172 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top