Search results
33 packages found
An easy, semantic and reliable way to split a string into characters in JavaScript, even when it contains emojis, flags and diacritics
Return the next extended grapheme cluster break in a string after a specified position.
Grapheme cluster break tooling.
Return the number of grapheme clusters in a string.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- length
- len
- unicode
- grapheme
- segmentation
- surrogate
- View more
Wrap lines using the Unicode Line Breaking algorithm from UAX #14
Split a string by its grapheme cluster breaks.
Reverse the grapheme clusters (i.e., user-perceived characters) of a string.
Remove the last grapheme cluster (i.e., user-perceived character) of a string.
Remove the first grapheme cluster (i.e., user-perceived character) of a string.
Return the previous extended grapheme cluster break in a string before a specified position.
Return the first grapheme cluster (i.e., user-perceived character) of a string.
Invoke a function for each grapheme cluster (i.e., user-perceived character) in a string.
Return the last grapheme cluster (i.e., user-perceived character) of a string.
Return the first character(s) of a string.
Create an iterator which iterates over grapheme clusters.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- unicode
- grapheme
- segmentation
- surrogate
- astral
- emojis
- View more
Tools for working with strings displayed in the terminal
Provides tooling for working w/ Unicode including grapheme splitting & iteration.
Invoke a function for each character in a string.
Return the first character(s) of a string.
Return the last character(s) of a string.