Comment on Tutorial - indexOf( ) and lastIndexOf( ) in Java By Hong
Comment Added by : Kyle
Comment Added at : 2012-03-22 09:17:04
Comment on Tutorial : indexOf( ) and lastIndexOf( ) in Java By Hong
ASNWERING: what's the purpose of indexOf('t',10) ?
The purpose is to look for the index of the character 't' STARTING at index 10;
String str = "hello world";
//Let's say you wanted to find the index of the second 'o'.
//This searches the string for 'o' starting immediately after
// first 'o'. (Remember, Strings are simply arrays, and their
// indexes start out at 0.
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
1. Thank you! :) But I have a question, why is that t
View Tutorial By: choco at 2010-01-03 02:16:18
7. it s good ,understanding clearly and with out conf
View Tutorial By: vasudeva kumar at 2012-01-06 14:04:30
10. hi any one can send me the code for HTTPclient pro
View Tutorial By: indela at 2011-06-13 08:41:12