kotlin find index of element in string