Text.Repeat
Returnează o valoare text compusă din textul de intrare repetat de un număr specificat de ori.
Syntax
Text.Repeat(
text as text,
count as number
) as text
Remarks
Returnează o valoare text compusă din textul de intrare text repetat de count ori.
Examples
Example #1
Repetaţi textul „a” de cinci ori.
Text.Repeat("a", 5)
Result:
"aaaaa"
Example #2
Repetaţi textul „helloworld” de trei ori.
Text.Repeat("helloworld.", 3)
Result:
"helloworld.helloworld.helloworld."
Category
Text.Transformations