soggy.Documentation Back to Soggy ↗

string.rep

Repeats the string n times and concatenates them using the separator sep.

string.rep(str: string, n: number, sep: string): string

Arguments

NameDescriptionType
strString to repeat.string
nNumber of times to repeat the string.number
sepSeparator to use between the strings. None by defaultstring

Returns string

Type to search guides, functions and events.