This finds a letter and omits all other instances of that letter, leaving you only the distinct letters used in the string.