获取字符串的真实长度(全角2位)

来源:互联网 发布:马哥linux 2016网盘 编辑:程序博客网 时间:2024/06/14 00:16
Encoding.Default.GetByteCount(要判断的字符串) ;返回为int
原创粉丝点击