O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul 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: A Deeper Look

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

—Hilaire Belloc

The difference between the almost-right word and the right word is really a large matter—it’s the difference between the lightning bug and the lightning.

—Mark Twain

Objectives

In this chapter you’ll:

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

• Use various methods of classes string and StringBuilder.

• To manipulate character objects of struct Char.

• To use regular-expression classes Regex and Match.

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