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:

Image

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