Description | The |
Syntax | REPEAT( |
Output | text |
Variables
text
: The input text string that you want to repeat.count
: The number of times you want to repeat the text string.
โ
The REPEAT()
function will repeat the input text string as many times as specified by the count. If the count is set to 0, the function will return an empty string. Make sure to handle scenarios where the count might be negative or excessively large to avoid unexpected results or performance issues.
Example
REPEAT(`Text`, 3)
ID | Text | REPEAT |
1 | * | *** |
2 | Hello | HelloHelloHello |
3 | A | AAA |