Repeats the given string.

Syntax

Smartsite SXML CopyCode image Copy Code
string string.repeat(string data, integer copies)

Parameters

Name Data Type Description
data String The input string.
copies Integer Number of copies.

Return Value

Data Type Description
String String containing the input string [copies] of times.

Expand image Examples

SXML