var entities = require("intercept-entity");
//String
entities.intercept('中国a©üÿ',1,3,function (result) {
console.log(result); //国a©
});
//百分之九十有BUG,欢迎大家指正
↧
截取完整的字符实体
↧