16. Strings, Characters and Regular Expressions

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

Hilaire Belloc

Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences.

William Strunk, Jr.

I have made this letter longer than usual, because I lack the time to make it short.

Blaise Pascal

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

Mark Twain

Mum’s the word.

Miguel de Cervantes

Objectives

In this chapter you will learn:

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

• To create and manipulate mutable character string ...

Get C# for Programmers, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.