摘要: /// /// 获得字符串长度 /// /// 要获得长度的字符串 /// public static int GetLengthOfStr(string str) { int lenTotal = 0; int n = str.Length; string strWord = ""; int asc; for (int i = 0; i 127) lenTotal = lenTotal + 3; else lenTotal = lenTotal + 1; } return lenTotal; } 阅读全文
posted @ 2013-07-03 09:04 李东浩 阅读(247) 评论(0) 推荐(0) 编辑