Get indexes of each char