增加判断文字长度,汉字算2个
[作者]:菩提树下的杨过 [来源]:互联网 [收录时间]:2007-12-5 20:54:10
strName= Regex.Replace(strName,"[\u4e00-\uf900]","aa");
int Length=strName.Length;