Returns a copy of a given string repeated a given number of times.
string_repeat(str, count)
string
Returns: string
This function simply returns the same string repeated a given number of times over itself.
str1 = 'Hello World'; str2 = string_repeat(str1, 3);
This will set str2 to 'Hello WorldHello WorldHello World'.
Back to strings
There was an error while loading. Please reload this page.