PPT Slide
?length() returns the number of characters
? charAt(i) returns the character at position i.
for (int i = 0; i < str.length(); i++)
System.out.println(charAt(i));
? indexOf(char ch) returns the first position
of character ch in a String.
? lastIndexOf(char ch) returns the last position
of character ch in a String.