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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per