The substring() method lets you extract a section of a String; indexOf() lets you find where one String is contained within another String.
Some corrections --
at 5:42, “...plus one place past the first comma“ should just be “...plus one.”
at 6:23, “...to the end of the word” should be “...to the end of the phrase.”
Download
0 formats
No download links available.
Chapter 4: substring() and indexOf() methods | NatokHD