Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: A Set String Legngth

by perlmonkey (Hermit)
on Jul 27, 2000 at 07:47 UTC ( #24626=note: print w/ replies, xml ) Need Help??


in reply to A Set String Length

And just to be obnoxious, you can use sprintf, like young perlhopper. $foo = sprintf("%-10s", "Hello");
or you can do $String .= " " x (10-length($String));


Comment on Re: A Set String Legngth
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://24626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-07-26 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (176 votes), past polls