I want to get a substring of a given length say 150. However, I want to make sure I don't cut off the string in between a unicode character.
e.g. see the following code:
var str = "Hello
I want to get a substring of a given length say 150. However, I want to make sure I don't cut off the string in between a unicode character.
e.g. see the following code:
var str = "Hello