I have some code like this:
string[] separator = {"::"}; var seperatedCardString = currentCard.Name.Split( separator, StringSplitOptions.Remov