Returns a string made of the specified string repeated num number of times. If num <= 0, an empty string is returned.

Example:

dup("blah-", 3)
will return:
"blah-blah-blah-"