RepeatString

Description

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

Returns

A string.

Category

String functions

Function syntax

RepeatString(string, count)

See also

CJustifyLJustifyRJustify

Parameters

Parameter

Description

string

A string or a variable that contains one.

count

Number of repeats.

Example

<cfscript>
       myStr="Lorem Ipsum";
       WriteOutput(RepeatString(myStr,5));
</cfscript>

 Adobe

Get help faster and easier

New user?