Skip to main content

Repeat - script and chart function

Repeat() forms a string consisting of the input string repeated the number of times defined by the second argument.

Syntax:  

Repeat(text[, repeat_count])

Return data type: string

Arguments:  

Repeat arguments
Argument Description
text The original string.
repeat_count Defines the number of times the characters in the string text are to be repeated in the output string.

Examples and results:  

Examples and results
Example Result
Repeat( ' * ', rating ) when rating = 4 Returns ' * * * * '

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com