because String's Split is trying to split the string based on the single characters in the char[], try string str="apple<a>banana<a>melon";
string[] result = System.Text.RegularExpressions.Regex.Split(str, @"<a>",RegexOptions.IgnoreCase);
foreach (string s in result)
Console.WriteLine(s);
string[] result = System.Text.RegularExpressions.Regex.Split(str, @"<a>",RegexOptions.IgnoreCase);
foreach (string s in result)
Console.WriteLine(s);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货