Chapter 6. String Handling

C# offers a wide range of string-handling features. Support is provided for both mutable and immutable strings, extensible string formatting, locale-aware string comparisons, and multiple string encoding systems. The string handling support also includes regular expression matching and replacement capabilities based on Perl 5 regular expressions, including lazy quantifiers ( ?? , *? , +? , {n,m}? ), positive and negative look-ahead, and conditional evaluation.

This chapter introduces and demonstrates the most common types you'll use in working with strings. The types mentioned in this section all exist in the System , System.Text , or System.Text.RegularExpressions namespaces (unless otherwise stated).



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