Originally posted by Faisal Pasha:
Usually, the first argument in such methods will be 0 based and the second argument will be 1 based.
Originally posted by madhu v pe:
your answers are really helpful.
when we use
sb.lastIndexOf('b',932);//it is working as sb.lastIndexOf('b');
am I right?
Really good knowledge on StringBuffer.
Originally posted by Chandra Bhatt:
Excerpts from the String class's lastIndexOfMethod(...)