From: "trans. (T. Onoma)" Date: 2004-10-26T02:51:51+09:00 Subject: Re: Garden Spam On Monday 25 October 2004 01:33 pm, Markus wrote: | An add-on to my privious thought: random phonetic speling mistakes | in the puzles would not hindder a humen nearly as much as they woud a | bott--even if the human was useing a text-too-speach tool. | | -- Markus Oo oo! I may have just the thing! [Tom reaches into his big bag of tricks and pulls out...] class String # Scramble the inner characters of words leaving the text still readable # (research at Cambridge University, code by KurtDresner) # # -eg. # # Srblamce the iennr cchrteaars of wodrs lvenaig the txet stlil rbeaadle # (rreceash at Cbamigdre Uverintisy, cdoe by KrneruestDr?) # def dresner self.gsub(/\B\w+\B/){$&.split(//).sort_by{rand}} end # In place #dresner method. def dresner! self.replace(dresner) end end How's that for creative? Thanks Markus, T.