Share via


Text.Repeat

Syntax

Text.Repeat(text as nullable text, count as number) as nullable text

About

Returns a text value composed of the input text text repeated count times.

Example 1

Repeat the text "a" five times.

Usage

Text.Repeat("a", 5)

Output

"aaaaa"

Example 2

Repeat the text "helloworld" three times.

Usage

Text.Repeat("helloworld.", 3)

Output

"helloworld.helloworld.helloworld."