I need to split a string describing a soccer match into home team and away team.
The string will always be something like "Manchester United v Liverpool".
I need to split on ' v ' - i know that - I just don't know how to do it in C#
I tried
string s = item.Summary;
string[] teams = s.Split('v');
tempEvent.HomeTeam = teams[0].Trim();
tempEvent.AwayTeam = teams[1].Trim();
but naturally that made the above mentioned game be between Manchester United and Li