Text.Repeat

语法

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

关于

返回由输入文本 text 重复 count 次而组成的文本值。

示例 1

重复文本“a”五次。

使用情况

Text.Repeat("a", 5)

输出

"aaaaa"

示例 2

重复文本“helloworld”三次。

使用情况

Text.Repeat("helloworld.", 3)

输出

"helloworld.helloworld.helloworld."