I have a string like that
"Monsoon Season | 20-05-2014 | 06-10-2014"
I want to extract string before and after the pipe sybmol . How can I do it?
You could use String.Split():
string info = "Monsoon Season | 20-05-2014 | 06-10-2014";
var strings = info.Split('|');
string title = strings;
string date = strings;