O'Reilly logo

Write Great Code, Volume 2 by Randall Hyde

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

Chapter 10. String Data Types

image with no caption

After integers, character strings are probably the most common data type used in modern programs; they are also the second most commonly used composite data type (arrays are the most commonly used composite data type). A string is a sequence of objects. Most often, the term string describes a sequence of character values, but it’s quite possible to have strings of integers, real values, Boolean values, and so on. I’ve already discussed bit strings in this book and in Write Great Code, Volume 1. Nevertheless, in this section I’ll stick to the common use of the term string and use it to refer to character strings.

In general, ...

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