标签:ret ace nbsp class fun str name col turn
//判断字节数 export function nameBytes(str) { let personNameBytes = str.replace(/[^\x00-\xff]/g, ‘01‘).length return personNameBytes }
标签:ret ace nbsp class fun str name col turn
原文地址:https://www.cnblogs.com/ChineseLiao/p/12396201.html