13 Strings, Regular Expressions

Learning Outcomes

  1. Create and manipulate Strings

  2. Manipulate data using the StringBuilder class and its methods


Exam Topics

  • Handle text using String and StringBuilder classes

Oracle Academy

  • 4 Strings, Regular Expressions, Recursion

    • 4-1 String Processing

    • 4-2 Use Regular Expressions

Textbook

  • 14 Strings, Characters and Regular Expressions

Tutorial / Practice Activity

Lesson Plan

Mindfulness

Read from Properties file

Properties file contents:

password=dbpw

Code:

Properties prop = new Properties();

prop.load(new FileInputStream("res/properties"));

PASS = prop.getProperty("password");