asp.net.ph

StringInfo Class

System.Globalization Namespace


Provides functionality to split a string into text elements and to iterate through those text elements.

StringInfo Class Members

Collapse   Constructors

Visibility Constructor Parameters
public StringInfo ( )
public StringInfo ( String value )

Collapse   Properties

Visibility Name Value Type Accessibility
public LengthInTextElements Int32 [ Get ]
public String String [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
public Equals ( Object value ) Boolean
public GetHashCode ( ) Int32
public static GetNextTextElement ( String str ) String
public static GetNextTextElement ( String str , Int32 index ) String
public static GetTextElementEnumerator ( String str ) TextElementEnumerator
public static GetTextElementEnumerator ( String str , Int32 index ) TextElementEnumerator
public static ParseCombiningCharacters ( String str ) Int32
public SubstringByTextElements ( Int32 startingTextElement , Int32 lengthInTextElements ) String
public SubstringByTextElements ( Int32 startingTextElement ) String

Remarks

The .NET Framework defines a text element as a unit of text that is displayed as a single character; that is, a grapheme. A text element can be a base character, a surrogate pair, or a combining character sequence.

The Unicode Standard defines a surrogate pair as a coded character representation for a single abstract character that consists of a sequence of two code units, where the first unit of the pair is a high-surrogate and the second is a low-surrogate.

The Unicode Standard defines a combining character sequence as a combination of a base character and one or more combining characters. A surrogate pair can represent a base character or a combining character.

For more information on surrogate pairs and combining character sequences, see The Unicode Standard.

Skip Navigation Links

Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note