Skip to content

str::repeat

repeat(item: String, n: Integer)

ParameterTypeDescription
itemStringThe string to repeat
nIntegerThe amount of times it should be repeated

Repeats a string.

Returns

(String)