$string =~ s/(.)/$1 x (1 + rand(3))/egs; [download]
In reply to Re: Function over all letters in a string by tilly in thread Function over all letters in a string by Jobby