OBJECTIVES
After studying this chapter, you will
Be more familiar with Java Strings.
Know how to solve problems that involve manipulating strings.
Be able to use loops in designing string-processing algorithms.
OUTLINE
7.1
Introduction
7.2
String Basics
7.3
Finding Things within a String
7.4
Example: Keyword Search
7.5
From the Java Library: StringBuffer
7.6
Retrieving Parts of Strings
7.7
Example: Processing Names and Passwords
7.8
Processing Each Character in a String
7.9
Comparing Strings
7.10
From the Java Library: java.util.StringTokenizer
7.11
Handling Text in a Graphics Context (Optional)
Chapter Summary
Solutions to Self-Study Exercises
Exercises