laziness, impatience, and hubris | |
PerlMonks |
Re^3: Golf: Replacing part of a string with "*"by ikegami (Patriarch) |
on Aug 18, 2006 at 16:10 UTC ( [id://568214]=note: print w/replies, xml ) | Need Help?? |
jwkrahn beat you to 25 with $string=~s/.(?=.{4})/*/g;
In Section
Seekers of Perl Wisdom
|
|