Skip to Main Content
JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition
book

JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition

by John Pollock
November 2019
Beginner content levelBeginner
560 pages
13h 36m
English
McGraw-Hill
Content preview from JavaScript: A Beginner's Guide, Fifth Edition, 5th Edition

Chapter 13

Handling Strings

Key Skills & Concepts

   Using the Properties of the String Object

   Using the Methods of the String Object

   Using Cookies

   Using Regular Expressions

To work with strings in JavaScript, you need to learn about the various methods that handle them. The methods come from the JavaScript String object.

This chapter first explains what the String object is and how to create strings that use its properties and methods. Then, the String object’s properties and methods are discussed in more detail so you can see how they work. Finally, you’ll code a script that uses some of the properties and methods you’ve learned.

Introduction to the String Object

The String object provides properties and methods to get information ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Javascript Absolute Beginner's Guide, 3rd Edition

Javascript Absolute Beginner's Guide, 3rd Edition

Kirupa Chinnathambi
JavaScript Cookbook, 3rd Edition

JavaScript Cookbook, 3rd Edition

Adam D. Scott, Matthew MacDonald, Shelley Powers

Publisher Resources

ISBN: 9781260457698