|
Hello, ravian.
The substring method is a funny one. The way that I understand is that the first parameter has zero-based indexing and the second has one-based indexing. For example:
first parameter:____00 01 02 03 04 05 06 07 08 09 10 11 12
second parameter:___01 02 03 04 05 06 07 08 09 10 11 12 13
string:_____________W__e__l__c__o__m__e__T__o__J__a__v__a
__________________
If your ship has not come in yet then build a lighthouse.
|