Obtaining a String.Index