mz-strfilter
v1.0.0
Published
安装模块 npm i mz-strfilter 导入模块 const str = require('mz-strfilter') 使用:有三个参数,第一个为字符串,第二个为需要过滤的字符,第三个为过滤后替换的新字符 str.getStr('abc', 'a', 'ddd') // 把字符串abc中的a替换成ddd
Downloads
3
Readme
安装模块 npm i mz-strfilter 导入模块 const str = require('mz-strfilter') 使用:有三个参数,第一个为字符串,第二个为需要过滤的字符,第三个为过滤后替换的新字符 str.getStr('abc', 'a', 'ddd') // 把字符串abc中的a替换成ddd