How To Get First Index Of String In Java