chapter19 FirstCharOccurOnce