print repeat(5,'-'); # print out '-----' [download]
Originally posted as a Categorized Question.
In reply to How can i print N repeated characters? by Doraemon