0
otherMatchArray= "March | Monday | Tuesday|| December | Wednesday | Friday"


string[] matchData = otherMatchArray.Split('||');

How can I split one string and then split it again using || and | ?

ankhzet
  • 2,416
  • 1
  • 22
  • 30
Dev
  • 1,635
  • 3
  • 16
  • 41

1 Answers1

0
    string[] matchData = otherMatchArray.Split(new string[] { "||" }, StringSplitOptions.None); 
Dev
  • 1,635
  • 3
  • 16
  • 41