From: James Edward Gray II Date: 2006-03-09T04:26:50+09:00 Subject: Re: Searching for a very fast string parser On Mar 8, 2006, at 12:09 PM, |MKSM| wrote: > I'm sorry, the log file i have comes from a live firewall. I'd rather > not release it. Would randomizing the data render it safe? >> "ABC 123".gsub(/[a-zA-Z0-9]/i) { |chr| ("0".."9").include?(chr) ? rand(10) : ("A".."Z").to_a[rand(26)] } => "HNQ 265" James Edward Gray II