Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Answer: How can i print N repeated characters?

by gaal (Parson)
on Jul 07, 2004 at 04:46 UTC ( #372277=categorized answer: print w/replies, xml ) Need Help??

Q&A > strings > How can i print N repeated characters? - Answer contributed by gaal

print '-' x 5;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-12-11 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.