0.1.3 • Published 6 years ago

string-replaceprefix v0.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

string-replaceprefix

NOTE: string-replaceprefix was renamed to @extra-string/replace-prefix. NPM

Replace prefix match in string with specified value.

const replacePrefix = require('string-replaceprefix');
// replacePrefix(<string>, <prefix>, <replaced value>)

replacePrefix('tinman', 'tin', 'gun');
// 'gunman'
replacePrefix('muscleman', 'cle', 'cled');
// 'muscleman' (not prefix)
replacePrefix('-1.6022e-19', '-', '');
// '1.6022e-19'
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago