O'Reilly logo

OCP Java SE 7 Programmer II Certification Guide: Prepare for the 1ZO-804 exam by Mala Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. String processing

Exam objectives covered in this chapter

What you need to know

[5.1] Search, parse, and build strings (including Scanner, StringTokenizer, StringBuilder, String, and Formatter) The methods that can be used to parse and build strings, from classes Scanner, StringTokenizer, StringBuilder, and Formatter.
[5.2] Search, parse, and replace strings by using regular expressions, using expression patterns for matching limited to . (dot), * (star), + (plus), ?, \d, \D, \s, \S, \w, \W, \b, \B, [], () What regular expressions (regex) are and how they’re used to search, parse, and replace strings. Understand the use of the relevant API classes in the java.util.regex package.
[5.3] Format strings using the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required