152 packages found
ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3
Count the longest repeating streak of a substring
Replace all substring matches in a string
- replace
- string
- text
- all
- many
- multiple
- global
- match
- matches
- replacement
- replacer
- modify
- substring
- sub-string
- View more
helper for text highlighting
Merge and sort string index ranges
Quick select and extract strings from strings selecting occurring chars and its repetition.
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
React component to highlight words within a larger body of text
Replace the substring before the first occurrence of a specified search string.
Implementations for the Longest Common Substring algorithm [O(nm) time]
React component to highlight any text in a text. Best used to highlight search results
pys is a simple(< 1 Kb) javascript library to engance String.substring / Array.slice with python slice style.
Add Array, Numbers, Object and String prototypes in your project.
- prototype
- array
- string
- number
- object
- json
- capitalize
- repeat
- reverse
- substring
- escape
- unescape
- html
- format
- View more
Find the substring / element among $start and $end argument.
Like Javascript's substr, but with wrapping and reversed substrings.
Checks if a string has at least one prohibited substring at a given index.