Name
StringInfo
Synopsis
This class allows you to manipulate a string by its individual elements.
Each separately displayed character is considered a text element. This
includes base characters and the Unicode-defined surrogate pairs and
combining character sequences. The class provides enumeration of the
elements in the string, as well as a means of further identifying
combining characters. ParseCombiningCharacters()
returns only the indexes of the base characters, high surrogates,
and combined characters
within a string.
Public Class StringInfo ' Public Constructors Public Sub New() ' Public Shared Methods Public Shared Function GetNextTextElement( ByVal str As String) As String Public Shared Function GetNextTextElement( ByVal str As String, ByVal index As Integer) As String Public Shared Function GetTextElementEnumerator( ByVal str As String) As TextElementEnumerator Public Shared Function GetTextElementEnumerator( ByVal str As String, ByVal index As Integer) As TextElementEnumerator Public Shared Function ParseCombiningCharacters( ByVal str As String) As Integer() End Class
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.