REPT ^v2.6.128
Repeats a text string a specified number of times and returns the concatenated result.
js
REPT(input_string, iterations)
REPT(input_string, iterations)
Parameters
input_string
- The text string to repeat.iterations
- The number of times to repeat the string.
Examples
js
REPT("hello ", 3)
REPT("hello ", 3)
Result: Hello Hello Hello