good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How to convert a string with regex to a string with a fixed length?by olus (Curate) |
on Jul 29, 2008 at 16:37 UTC ( [id://700852]=note: print w/replies, xml ) | Need Help?? |
Also with sprintf
update thanks lodin, I misunderstood the question and assumed the input was always 13 or less characters. Fixed now
In Section
Seekers of Perl Wisdom
|
|