How can you obtain the total characters of a String, considering that it could have supplementary characters which takes 2 code units to be encoded.
Example:
String strTest = "a
How can you obtain the total characters of a String, considering that it could have supplementary characters which takes 2 code units to be encoded.
Example:
String strTest = "a
精彩评论