Good morning,

On 1/11/14 at 12:49 PM +0100, Marek Stepanek <[email protected]> wrote:

But how to align  the last 10. Takt with sprintf()?

I don't recall specifics, but I'm pretty sure dash character will right align, so something like this:

sprintf("%-30.10s",$increment)

I doubt that is actually correct, maybe dash needs to go before the 's'. Anyway, there is some way to right align the string using sprintf, check perldoc.


Charlie

--
   Charlie Garrison  <[email protected]>
   github.com/cngarrison   metacpan.org/author/CNG

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to