摘要:
截取字付串 public static string GetString(string str, int length ) { int i = 0, j = 0; foreach (char chr in str) { if ((int)chr >30) { i += 2; } else { i++; } if (i > length) { str = str.Substring(0,... 阅读全文
posted @ 2008-06-10 18:17
bullion
阅读(725)
评论(0)
推荐(0)
浙公网安备 33010602011771号