RepeatString

Creates a string that contains a specified number of repetitions of the specified string.

RepeatString( string, count )

Returns: String

Argument Description
string
string, required

A string or a variable that contains one.

count
number, required

Examples

writeDump(repeatString("Hi buddy!, Have a nice day.",2));
//Member function 
str="I love Lucee ";
writeDump(str.repeatString(3));

See also