Java String Methods: Using substring

preview_player
Показать описание
Using the Java substring methods with either one or two int parameters to demonstrate the use and results from calling these methods on Strings including errors caused by incorrect parameter values. Audio interference starting at 4 minutes.

Table of Contents:

00:22 - Setup helper method to test substrings
01:52 - First parameter is greater than the second parameter
02:21 - pass a parameter bigger than the .length()
04:33 - Using the single parameter and double parameter to get the same value
Рекомендации по теме