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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour