REPT

The REPT function repeats a given text string a specified number of times. Node references are also accepted as arguments.

Syntax

rept(value:string, count:number)

Arguments

value- Required. A text string.

count- Required. A number indicating how many times the string should be repeated.

Example

rept('LUMEL', 3)

Returns “LUMELLUMELLUMEL".

Last updated