Java String Get Substring Javascript Example Interview