I came across some substring() method mystery and not sure why it is not throwing out of index error. The string "abcde" has index start from 0 to 4 but substring() method ...