Search results
44 packages found
ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3
`@akcybex/jstr` is a JavaScript library inspired by [Laravel 'Strings'](https://laravel.com/docs/10.x/strings) offering a chainable API for streamlined string manipulation and facilitating common string operations in javascript with enhanced expressivenes
- after
- afterLast
- ascii
- before
- beforeLast
- between
- betweenFirst
- camel
- charAt
- contains
- containsAll
- endsWith
- excerpt
- finish
- View more
Zero-dependency unicode-aware string tools
Replace the substring before the first occurrence of a specified search string.
Return the part of a string before a specified substring.
Return the part of a string after a specified substring.
Replace the substring before the first occurrence of a specified search string.
Return the part of a string before the last occurrence of a specified substring.
Return the part of a string after the last occurrence of a specified substring.
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Replace the substring before the last occurrence of a specified search string.
Replace the substring after the last occurrence of a specified search string.
Replace the substring after the first occurrence of a specified search string.
Replace the substring before the first occurrence of a specified search string.
Return the part of a string before the last occurrence of a specified substring.
Return the part of a string before a specified substring.
Return the part of a string after the last occurrence of a specified substring.
Return the part of a string after a specified substring.
Fast module for counting the number of occurrences of a substring inside a string
Extract a subset of lines from a string efficiently