摘要:
using System.Text.RegularExpressions;using System.Text;/// <summary>/// 字符串长度(按字节算)/// </summary>/// <param name="str"></param>/// <returns></returns>static int StrLength(string str){ int len = 0; byte[] b; for (int i = 0; i < str.Length; i++) { b = E 阅读全文