Avatar
endIndex.encodedOffset is 4 that same with utf8 offset (String) endIndex.encodedOffset is 4 that same with utf8 offset (String created by NSString API) (edited)