Search results
157 packages found
ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3
Utility functions shared by react-highlight-words and react-native-highlight-words
Checks strings against patterns and collects matched substrings
helper for text highlighting
Count the longest repeating streak of a substring
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Merge and sort string index ranges
React text component to style substrings based on patterns provided.
Find the substring / element among $start and $end argument.
Implementations for the Longest Common Substring algorithm [O(nm) time]
Like Javascript's substr, but with wrapping and reversed substrings.
Checks if a string has required substrings at given indexes.
Checks if a string has at least one prohibited substring at a given index.
Gets the number of occurrences of a string or character in a string.
Linear-time string search and comparison algorithms.
pys is a simple(< 1 Kb) javascript library to engance String.substring / Array.slice with python slice style.
Returns a subset of a string, composed by complete subsets found using delimeter between min and max length. If no complete subsets are found, returns a subset using length max and ellipsis.
Strip a substring from the start/end of a string
Quick select and extract strings from strings selecting occurring chars and its repetition.