Reputation: 55
I have this string : "397"
The special character has the code point : 1114111
When I chunk the string : "397".match(/.{2}/g)
I have this result : ['3\uDBFF', '\uDFFF9']
But I want this result : ['3', '97']
Thanks
Upvotes: 1
Views: 50