In the example you have shown lastIndexOf('the') in the output message. But in the actual method you have taken the substring as 'nest'. In the Output the index is shown as 2. Can you please explain how did u get the output and also for which sub string is that output meant to be.
I don't understand the exampleSiva Praveen May 14, 2012 at 7:30 PM
In the example you have shown lastIndexOf('the') in the output message. But in the actual method you have taken the substring as 'nest'. In the Output the index is shown as 2. Can you please explain how did u get the output and also for which sub string is that output meant to be.
how we will get 2.can u xplain brieflyvamsi January 7, 2013 at 6:01 PM
needs more clarity in xplnation.
Post your Comment