62,614
社区成员
发帖
与我相关
我的任务
分享
<html
<head>
</head>
<body>
<script>
String.prototype.lenB=function()
{
return this.replace(/[^\x0-\xf]/g,"##").length;
}
var sName="a聪慧b";
alert(sName.lenB());
</script>
</body>
</html>