http://2.bp.blogspot.com/-bpVcO5iKthk/VAhfFQLeciI/AAAAAAAAB1Y/hzrzYa2ZmlI/s1600/How%2BSubString%2Bworks%2Bin%2BJava.png