137 packages found
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Utility functions shared by react-highlight-words and react-native-highlight-words
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]
ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3
Strip a substring from the start/end of a string
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.
Get the distance of a substring from the start of a line
Zero-dependency unicode-aware string tools
Replace all substring matches in a string
- replace
- string
- text
- all
- many
- multiple
- global
- match
- matches
- replacement
- replacer
- modify
- substring
- sub-string
- View more
React component to highlight words within a larger body of text
Removes dynamic trailing substring
Merge and sort string index ranges
Small, extensible, Angular-style string templating
Find the substring / element among $start and $end argument.
React component to highlight any text in a text. Best used to highlight search results
A collection of regular expressions to match color syntax substrings from a text
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