string-remove
Remove unwanted things in your string
Install
$ npm install --save string-remove
Usage
const stringRemove = ; const yourString1 = 'examle???string.@@!!'; const result = ; console;//=> 'examlestring' const yourString2 = '% % %t e s t$ $ $ '; const result = ; console;//=> 'es'
API
stringRemove(str, [options])
str
Type: string
String which need to be processed.
options
Type: array
Elements need to be removed.
License
MIT © haotian Chang