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
helper for text highlighting
Checks strings against patterns and collects matched substrings
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.
Linear-time string search and comparison algorithms.
Gets the number of occurrences of a string or character in a string.
pys is a simple(< 1 Kb) javascript library to engance String.substring / Array.slice with python slice style.
Implementations for the Longest Common Substring algorithm [O(nm) time]
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
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.
Quick select and extract strings from strings selecting occurring chars and its repetition.