String.prototype.realLength = function()
{
return this.replace(/[^/x00-/xff]/g,"**").length;
}
string 的真实长度
最新推荐文章于 2024-05-10 09:31:03 发布
String.prototype.realLength = function()
{
return this.replace(/[^/x00-/xff]/g,"**").length;
}