0.1.3 • Published 7 years ago

string-replaceprefix v0.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.1.2

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago