jsmp-infra-dimas-removes-words-from-string
v1.0.3
Published
A module which removes words from a string
Downloads
1
Readme
The module removeWordFromString
removes words from string.
Getting Started
Install jsmp-infra-dimas-removes-words-from-string using npm:
npm i jsmp-infra-dimas-removes-words-from-string
Let's import the removeWordFromString from module:
const { removeWordFromString } = require('jsmp-infra-dimas-removes-words-from-string');
try {
removeWordFromString('word', 'should be string, which needs to remove a word');
} catch(error) {
console.log(error);
}
Also, don't forget, that the string should not be length more than 251 symbols.