in reply to Re: •Re: Can you change the format pad character?
in thread Can you change the format pad character?
At least when the padding is whitespace (which the OP seemed to want)But OP said:
Is it possible to modify the default pad character of the format function from space to something user defined?Yes, had the original question been about padding whitespace, I certainly would have preferred sprintf. But it was precisely not about that, hence my solution.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Re: •Re: Can you change the format pad character?
by Not_a_Number (Prior) on Jun 01, 2003 at 17:44 UTC |