Search results
44 packages found
ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Gets the number of occurrences of a string or character in a string.
Like Javascript's substr, but with wrapping and reversed substrings.
`@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
Get the distance of a substring from the start of a line
[![npm version](https://badge.fury.io/js/emojicharstring.svg)](https://badge.fury.io/js/emojicharstring) [![Build Status](https://travis-ci.org/YingshanDeng/EmojiCharString.svg?branch=master)](https://travis-ci.org/YingshanDeng/EmojiCharString) [![Coverag
A collection of prototype functions for String object, some of them already adopted by new standards as ES6
--- 👩🔬 Please be aware that this package is still experimental — changes to the interface and underlying implementation are likely, and future development or maintenance is not guaranteed.
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.
Replace the substring before the first occurrence of a specified search string.
Replace the substring after the last occurrence of a specified search string.
Replace the substring before 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.