Replaces all matching of a pattern in a string.
var replaceAll = require('string-replace-all');
replaceAll('path/to/file', '/', '-');
// => 'path-to-file'
Returns the modified string.
Type: string
Type: string
Type: string
Replaces all matching of a pattern in a string.
var replaceAll = require('string-replace-all');
replaceAll('path/to/file', '/', '-');
// => 'path-to-file'
Returns the modified string.
Type: string
Type: string
Type: string