simple search for a character inside array