scan through a string to find a letter / symbol within it