摘要:
根据字节长度截取字符串 1 public string SubStrByByteLength(string str, int bytesLength) 2 { 3 if (Encoding.Default.GetByteCount(str) <= bytesLength) 4 { 5 return str; 6 } 7 else 8 { 9 string _tempStr = string.Emp... 阅读全文
posted @ 2012-12-14 21:54
stone87654321
阅读(231)
评论(0)
推荐(0)

浙公网安备 33010602011771号