unicode-byte-truncate
Version:
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
2 lines (1 loc) • 13 B
Plain Text
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size