Please enable JavaScript to use CodeHS

AP Computer Science A (Cortado)

Lesson 1.15 String Manipulation

Description

In this lesson, students will learn how to combine strings using concatenation and explore various String methods to manipulate and analyze text.


Objective

Students will be able to:

  • Use the + operator and += compound operator to concatenate strings
  • Understand implicit type conversion during concatenation
  • Use methods from the String class including length, substring, indexOf, equals, and compareTo