Hi guys, I'm trying to make a letters game, whereby a user is given 9 random letters, and must try to form the longest valid word from those letters. My problem is that I cannot create a code to validate that the letters in the user's guess are actually letters which they were given. If a user uses letters he was not given, or uses letters more than once (if they only appear once), then they haven't given a valid answer. The letters which the user receives are entirely random, and make up one string, so [code]$letters = "AIKNFOLAP";[/code] as opposed to being 9 separate strings. I hope someone can help. - Ralph