StringUtilities Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Various utility methods for when working with strings and text.
public static class StringUtilities
- Inheritance
-
StringUtilities
Methods
GetEncodedText(ReadOnlySpan<Char>, SKTextEncoding) | |
GetEncodedText(String, SKEncoding) |
Obsolete.
Encodes the specified string using the encoding as a byte array. |
GetEncodedText(String, SKTextEncoding) |
Encodes the specified string using the encoding as a byte array. |
GetString(Byte[], Int32, Int32, SKTextEncoding) |
Encodes the specified string using the encoding as a byte array. |
GetString(Byte[], SKTextEncoding) |
Decodes the specified bytes as a string. |
GetString(IntPtr, Int32, SKTextEncoding) |
Decodes the specified bytes as a string. |
GetString(ReadOnlySpan<Byte>, Int32, Int32, SKTextEncoding) | |
GetString(ReadOnlySpan<Byte>, SKTextEncoding) | |
GetUnicodeCharacterCode(String, SKTextEncoding) |
Returns the Unicode character code for the specified character. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈