c# - How to split strings with two chars ('||') -


this question has answer here:

othermatcharray= "march | monday | tuesday|| december | wednesday | friday"   string[] matchdata = othermatcharray.split('||'); 

how can split 1 string , split again using || , | ?

    string[] matchdata = othermatcharray.split(new string[] { "||" }, stringsplitoptions.none);  

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -