0
otherMatchArray= "March | Monday | Tuesday|| December | Wednesday | Friday"
string[] matchData = otherMatchArray.Split('||');
如何拆分一個字符串,然後再使用||拆分字符串。和| ?如何將字符串拆分爲兩個字符('||')
otherMatchArray= "March | Monday | Tuesday|| December | Wednesday | Friday"
string[] matchData = otherMatchArray.Split('||');
如何拆分一個字符串,然後再使用||拆分字符串。和| ?如何將字符串拆分爲兩個字符('||')
string[] matchData = otherMatchArray.Split(new string[] { "||" }, StringSplitOptions.None);
是的,它在這裏https://msdn.microsoft.com/ru-ru/library/tabh47cf(v=vs.110).aspx –