Repeat
See Also: String Functions, Append, Character, Length, String
Purpose
Repeat returns a string made up of a specified number of repetitions of the input string.
Return Type
Syntax
(Repeat( {string-value}, {count} ))
Parameters
- {string-value}: The string value to repeat.
- {count}: An integer value indicating the number of times to repeat {string-value}.
What It Does
Repeat returns {string-value} appended together {count} times.
Showln(Repeat("Void if altered ", 5))
In this example, the string "Void if altered " is shown 5 times.
Notes
- If {string-value} is of a type other than string, its value will be converted to a string for output.