string_repeat [function]

string_repeat( string str, int count )

return the string str, appended to itself `count`-1 times or an empty string if count is equal to 0

string_repeat( "na", 6 ); // string [12] "nananananana"
string_repeat( "none", 0 ); // string [0] ""