12. Strings

In This Chapter

Understand how text is treated in JavaScript

Learn how to perform common string operations

Look at the various string properties

I have a hunch that you are a human being. As a human, you probably relate really well with words. You speak them. You write them. You also tend to use a lot of them in the things you program. As it turns out, JavaScript likes words a whole lot as well. The letters and funny-looking symbols that make up your (and my) language have a formal name. They are known as strings:


That image may not be very representative of what I am talking about. In fact, that image has nothing to do what ...

Get JavaScript Absolute Beginner’s Guide now with O’Reilly online learning.

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