摘要:
方法一: public static string GetString(string str, int length) { int i = 0, j = 0; foreach(char chr in str) { if((int)chr > 127) { i += 2; } else { i ++; } if (i > length) { str = str.Substring(0, j) +... 阅读全文
posted @ 2016-07-14 14:35
刘小轩
阅读(510)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2016-07-14 10:30
刘小轩
阅读(203)
评论(0)
推荐(0)

浙公网安备 33010602011771号