Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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??

Help for this page

Select Code to Download


  1. or download this
    $foo = sprintf("%-10s", "Hello");
  2. or download this
    $String .= " " x (10-length($String));

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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 imbibing at the Monastery: (8)
As of 2022-12-01 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?