Remove or replace part of a string like Array#splice
MIT License
No README available, please check again later.
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Prepend `<br>` to newlines in a string
Strip comments from CSS
Split a string at one or more indices
Remove leading, trailing and repeated whitespace from a string
Repeat text
Replace all substring matches in a string
Strip shebang (eg. #!/bin/sh) from a string
Strip a substring from the start/end of a string
Strip a path from a path
Strip leading whitespace from each line in a string
Get the hash of a string
Parse text columns, like the output of unix commands
Slugify a string
Replace matching strings and regexes in files