• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Manipulating Text: The Strin... > Strings and the String Object

Strings and the String Object

You've seen dozens of examples of strings so far in this book. These have included not only string literals (such as "Using JavaScript"), but also methods that return strings (such as prompt()). So it should be clear by now that strings play a major role in all JavaScript programming and it will be a rare script that doesn't have to deal with strings in some fashion.

For this reason, it pays to become proficient at manipulating strings, which includes switching strings between uppercase and lowercase letters, locating text within a string, and extracting text from a string. You'll learn all of that and more in this chapter.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint