string-replace-all

Replaces all the occurrences of a string into a string with another string.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
string-replace-all
2.0.03 months ago5 years agoMinified + gzip package size for string-replace-all in KB

Readme

stringReplaceAll
Replaces all the occurrences of a string into a string with another string.

Install

$ npm install --save string-replace-all

Usage

import stringReplaceAll from 'string-replace-all';

stringReplaceAll ( 'A tiny tiny tiger', 'tiny', 'small' ); // 'A small small tiger'

Related

License

MIT © Fabio Spampinato