F. Senault
2/25/2008 8:39:00 PM
Le 25 février à 21:28, Adam Akhtar a écrit :
> and i want to insert an asterix at every 10th char whether its a
> whitespace, digit whatever how do i go about it
>
> i was trying
>
> string.gsub!(/[.]{10}/, "*")
What about string.gsub!(/(.{9})./, '\1*') ?
Fred
--
I know how to hurt I know how to kill I know what to show
And what to conceal I know when to talk And I know when to touch
No one ever died from wanting too much
(Garbage, The World Is Not Enough)