How To Get First Index Value Of String In Java