REPT (repeat text string)

<< Click to Display Table of Contents >>

REPT (repeat text string)

Syntax:

REPT(Text, n)

Description:

Repeats the specified text string n times.

With the argument n you specify the number of repetitions. n should be an integer. Digits to the right of the decimal point are ignored.

Example:

REPT("Text", 3) returns TextTextText

See also:

REPLACE, SUBSTITUTE