Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 wandering the Monastery: (3)
As of 2017-08-20 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (313 votes). Check out past polls.

    Notices?