use regular expressionsRegex re = new Regex(@"\{([^}]+)\}");
MatchCollection mc = re.Matches(YourString);
string[] myArray = new string[mc.Count];for(int i=0; i < mc.Count; i++)
{
myArray[i] = mc[i].Groups[1].Value;
}
MatchCollection mc = re.Matches(YourString);
string[] myArray = new string[mc.Count];for(int i=0; i < mc.Count; i++)
{
myArray[i] = mc[i].Groups[1].Value;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货