str-replace icon indicating copy to clipboard operation
str-replace copied to clipboard

A simple, lightweight JavaScript API to replace a String

Results 2 str-replace issues
Sort by recently updated
recently updated
newest added

Since we have `replace.all()` it makes sense having a `replace.first()` instead of implicitly making `replace()` act as replacing the first occurrence by default, which is not self-documenting. Feedback received on...

See https://github.com/FagnerMartinsBrack/str-replace/issues/1#issuecomment-246469791.