StringInfo

StringInfo CF 1.0, serializable

System.Globalization (mscorlib.dll) class

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  StringInfo  ( );  // Public Static Methods  public static string  GetNextTextElement  (string   str   );    public static string  GetNextTextElement  (string   str   , int   index   );    public static TextElementEnumerator  GetTextElementEnumerator  (string   str   );    public static TextElementEnumerator  GetTextElementEnumerator  (string   str   , int   index   );    public static int[ ]  ParseCombiningCharacters  (string   str   ); } 


C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net