Truncate string with handling of full width characters (e.g. Chinese/Japanese)
Parameters:
Name | Type | Description |
---|---|---|
str |
string
|
|
options |
Object
|
string