16. Strings and Characters


In this chapter you’ll learn:

• To create and manipulate immutable character-string objects of class string and mutable character-string objects of class StringBuilder.

• To manipulate character objects of struct Char.

• To use regular-expression classes Regex and Match.

• To iterate through matches to a regular expression.

• To use character classes to match any character from a set of characters.

• To use quantifiers to match a pattern multiple times.

• To search for patterns in text using regular expressions.

• To validate data using regular expressions and LINQ.

• To modify strings using regular expressions and class Regex.

The chief defect of Henry King Was chewing little bits of string.

Hilaire ...

Get C# 2010 for Programmers, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.