unicode-byte-truncate
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Found 44 results for substr
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Zero-dependency unicode-aware string tools
A jQuery plugin for getting, setting and replacing the selected text in input fields and textareas.
Modular polyfill for substr(-1) for IE browsers. Respectfully modified from MDN and added to a module.
Return the part of a string before a specified substring.
Return the part of a string after a specified substring.
--- 👩🔬 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.
`@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
multibyte substr
ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3
Fix potential memory leaks in JavaScript engines by forcing string copy on slice/substring/substr.
some util function about hanzi. (一些處理漢字的函式工具)
String.replace but for JavaScript objects (and JSON).
mb-substr - Multibyte substr
A collection of data handlers
substring ANSI
Replace the substring before the first occurrence of a specified search string.
Extract a subset of lines from a string efficiently
[](https://badge.fury.io/js/emojicharstring) [](https://travis-ci.org/YingshanDeng/EmojiCharString) [ method `substr` exported as a [Node.js](https://nodejs.org/) module.
Like Javascript's substr, but with wrapping and reversed substrings.
```js import {substring} from "@uwebpro/substring/substring"; ```
Replace the substring after the first occurrence of a specified search string.
Return the part of a string after a specified substring.
Replace object values with String.prototype.replace
Return the part of a string before the last occurrence of a specified substring.
Replace the substring after the last occurrence of a specified search string.
Return the part of a string after the last occurrence of a specified substring.
Replace the substring before the last occurrence of a specified search string.
Fast module for counting the number of occurrences of a substring inside a string
Gets the number of occurrences of a string or character in a string.
Substr that preserves whole words.
Replace object keys with String.prototype.replace
Cut text up to a certain limit, without breaking words and adding ellipsis
Predicate that returns true if all characters are found in provided string.
Get the distance of a substring from the start of a line
Return the part of a string before the last occurrence of a specified substring.
This is a Test Package Bu matematik kutubhona
Replace the substring before 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 a specified substring.
Return the part of a string after the last occurrence of a specified substring.