Skip to main content
Version: Streamsheets 2.5

REPT

Repeats given text a specified number of times

Syntax

=REPT(Text, NumTimes)

Arguments

NameDescription
TextText to repeat.
NumTimesPositive number which defines the number of times to repeat text. If NumTimes is 0, REPT returns an empty string.

Return

Repeated Text string.

Examples

FormulaResultComment
=REPT("Sample", 3)
"SampleSampleSample"