String(str.replace(/[^/x00/xff]/g,"xx").length
Flex 处理双字节字符(判断汉字长度)的方法
最新推荐文章于 2019-11-18 15:56:44 发布
String(str.replace(/[^/x00/xff]/g,"xx").length