StringNormalizationExtensions 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.
Provides extension methods to work with string normalization.
public ref class StringNormalizationExtensions abstract sealed
public static class StringNormalizationExtensions
type StringNormalizationExtensions = class
Public Module StringNormalizationExtensions
- Inheritance
-
StringNormalizationExtensions
Remarks
The extension methods of the StringNormalizationExtensions class are designed to work with .NET implementations that do not support the String.IsNormalized and String.Normalize methods. However, these methods are included in the String class in .NET Standard 2.0 and are therefore available on all .NET implementations that support the .NET Standard 2.0. For more information, see .NET Standard.
Methods
| GetNormalizedLength(ReadOnlySpan<Char>, NormalizationForm) |
Gets the estimated length of the normalized form of the specified string in the FormC. |
| IsNormalized(ReadOnlySpan<Char>, NormalizationForm) |
Determines whether the specified span of characters is in a normalized form. |
| IsNormalized(String, NormalizationForm) |
Indicates whether a string is in a specified Unicode normalization form. |
| IsNormalized(String) |
Indicates whether the specified string is in Unicode normalization form C. |
| Normalize(String, NormalizationForm) |
Normalizes a string to the specified Unicode normalization form. |
| Normalize(String) |
Normalizes a string to a Unicode normalization form C. |
| TryNormalize(ReadOnlySpan<Char>, Span<Char>, Int32, NormalizationForm) |
Normalizes the specified span of characters to the specified normalization form. |