Search results
509 packages found
Return the first character(s) of a string.
Convert a duration string to milliseconds.
Return the position of the next Unicode code point in a string after a specified position.
Convert a number to a word representation.
Ansi codes, figlet fonts, and ascii art. 100% JS
Trim `n` characters from the end of a string.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- number
- custom
- characters
- whitespace
- remove
- trim
- View more
Trim `n` characters from the beginning of a string.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- number
- custom
- characters
- whitespace
- remove
- trim
- View more
String Segmenter (str-seg) is a module for extracting multiple strings from text in a simple way.
Similar to String#trim() but removes only newlines
Special RegExp characters, useful for escaping.
Replaces placeholders in a format string with provided named or positional arguments.
Some strings functions that can be usefull
Invoke a function for each Unicode code point in a string, iterating from right to left.
parses number and unit, '20px' into [20, 'px']
Invoke a function for each UTF-16 code unit in a string, iterating from right to left.
a regexp-cjk plugin demo for regexp-cjk ( 自動配對 五十音的清/濁音 , 半形/全形 , deburr )
- char
- character
- characters
- chinese
- cjk
- cn
- cn2tw
- codepage
- conv
- conversion
- convert
- deburr
- fullwidth
- halfwidth
- View more
Replace the substring after the last occurrence of a specified search string.
Replace the substring after the first occurrence of a specified search string.