Bidyut,
As far as I know, this is the ONLY strange

method to which we have to be careful about the 2nd index. All other methods from String class adhere to indexes (0,1,2,3..)
pattern. In other words .charAt(3) means it is char at 0..1..2..(3) , which means the forth char.
regds
maha anna