MicroStrategy ONE

RepeatStr (Repeat String)

The RepeatStr function returns a character or string of characters the specified number of times.

Syntax

RepeatStr(String, Times)

Where:

  • String is a metric, fact, column, or string of characters representing the characters to be repeated.
  • Times is a metric, fact, column, or constant value that specifies how many times to repeat the string of characters. A common practice is to type a constant value.

Example

RepeatStr("Hello ", 3)

This would return the string of characters "Hello Hello Hello ".