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,517
  • 1
  • 24
  • 31
Dev
  • 1,780
  • 3
  • 18
  • 46

1 Answers1

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