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
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Count the longest repeating streak of a substring
helper for text highlighting
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.
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.
Implementations for the Longest Common Substring algorithm [O(nm) time]
Linear-time string search and comparison algorithms.
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.
Quick select and extract strings from strings selecting occurring chars and its repetition.
The `Utils` class is a comprehensive JavaScript utility library that provides a wide range of functions to enhance the development of web applications. This library offers a variety of features, including audio element creation, HTML element manipulation,