O'Reilly logo

C# 2010 for Programmers, Fourth Edition by Harvey M. Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

16. Strings and Characters

Objectives

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required