@stdlib/string
Version:
String manipulation functions.
11 lines (7 loc) • 396 B
Plain Text
Usage: remove-last [options] [<string>]
Options:
-h, --help Print this message.
-V, --version Print the package version.
--n Number of characters to remove. Default: 1.
--split sep Delimiter for stdin data. Default: '/\\r?\\n/'.
--mode mode Type of character to remove. Default: 'grapheme'.