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