Extended analyzer function. Looping each char