REPT
Repeats given text a specified number of times
Syntax
=REPT(Text, NumTimes)
Arguments
Name | Type | Description |
---|---|---|
Text | String | Text to repeat. |
NumTimes | Number | Positive number which defines the number of times to repeat text. If NumTimes is 0, REPT returns an empty string. |
Return
Type | Description |
---|---|
String | Repeated Text string. |
Examples
Formula | Result | Comment |
---|---|---|
| "SampleSampleSample" |