I have the following string:
友??又
The corresponding UTF-16 representation (little-endian) is
CB 53 40 D8 87 DC C8 53
\___/ \_________/ \___/
友 ?? 又
"友??又".Length
returns 4, because the string is stored as 4 2-byte characters by the CLR.
How do I measure the length of my string? How do I split it into { "友", "??", "又" }
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…