 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Method
substring returns a substring of a
|
|
|
string,
but does not change the string itsel
|
|
|
| • |
The
first parameter is an int that specifies a
|
|
|
starting
position within the string
|
|
|
| • |
The
second parameter is an int that is 1 more
|
|
|
than
the ending position of the
substring
|
|
|
| • |
Remember: positions of characters within a
|
|
|
string
are numbered starting from 0,
not from 1.
|