次の方法で共有


Text.Repeat

構文

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

バージョン情報

count回繰り返text入力テキストで構成されるテキスト値を返します。

例 1

テキスト "a" を 5 回繰り返します。

使用方法

Text.Repeat("a", 5)

アウトプット

"aaaaa"

例 2

"helloworld" というテキストを 3 回繰り返します。

使用方法

Text.Repeat("helloworld.", 3)

アウトプット

"helloworld.helloworld.helloworld."