Strip a substring from the start/end of a string
Replace all substring matches in a string
Zero-dependency unicode-aware string tools
A collection of regular expressions to match color syntax substrings from a text
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
String matcher that output the input string replacing the match.
Chunk string into equal substrings with unicode support
Extract a subset of lines from a string efficiently
Fast module for counting the number of occurrences of a substring inside a string
Gets the number of occurrences of a string or character in a string.
Cut a substring from a string by index or RegExp
Implementations for the Longest Common Substring algorithm [O(nm) time]
Find the substring / element among $start and $end argument.
Checks if a string has at least one prohibited substring at a given index.
Replace array values with String.prototype.replace
Wrap query substring(s) in HTML tags
powered by npms.io 🚀