repeat
This block is part of the value group and was last modified in core v10.4.28.
repeat v10.4.28 This method constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
In pins 2
- value required
value - length required
numberIndicating the number of times to repeat the string.
Out pins 1
- value
value
Outputs the value concatenated length times. A length of 0, an unwired length, or a NEGATIVE length all output "" without erroring (unlike JS repeat, which throws on negative counts).
A typical wiring for repeat: the value out pin feeds convert to uppercase.

Version history
Introduced in v10.4.28.
Back to
value Return to the main group to view all sub-groups Back to utils Return to the group to view all blocks within this group
