Quantcast
Channel: 2,000 Things You Should Know About C# » Surrogate Pairs
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

#773 – Reversing a String that Contains Unicode Characters Expressed as...

You can use the Reverse method to reverse the characters in a .NET-based string.  This method works if the string contains Unicode characters that can be expressed as 2-byte UTF16 code points.  This...

View Article



Image may be NSFW.
Clik here to view.

#1,007 – Getting Length of String that Contains Surrogate Pairs

You can use the string.Length property to get the length (number of characters) of a string.  This only works, however, for Unicode code points that are no larger than U+FFFF.  This set of code points...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images