repeat_string |
Discworld driver help |
repeat_string |
Name
repeat_string() - repeat a string a specified number of times
Syntax
string repeat_string( string str, int n );
Description
repeat_string() returns a string that consists of `str' repeated `n' times. So repeat_string("foo", 3) would return "foofoofoo".