语法
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."