SamKr
5/7/2015 - 11:49 AM

Split String

Split String

string txt = "a | b";
string a = txt.Split(new string[] {" | "}, StringSplitOptions.None)[0];