<script type="text/javascript">
String.prototype.len = function()
{
return this.replace(/[^\x00-\xff]/g, "xx").length;
}
console.log("是2e".len());
</script>js获取字符个数
最新推荐文章于 2026-05-08 10:52:21 发布

1040

被折叠的 条评论
为什么被折叠?



