previous
|
start
|
next
Substrings
String greeting = "Clown";
String sub = greeting.substring(1, 4);
Supply start and “past the end” position
First position is at 0
0
C
1
l
2
o
3
w
4
n
substring length = “past the end” - start
previous
|
start
|
next