Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Insert comma after every characterby johngg (Canon) |
on Apr 21, 2010 at 14:01 UTC ( [id://836065]=note: print w/replies, xml ) | Need Help?? |
Yet another way would be to use substr working back from the right end of the string.
I hope this is useful. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|