Table of Contents

StrRepeat

str StrRepeat(str s, int n)

Description

Returns the string repeated n times. If n is 0, returns empty string.

Examples

StrRepeat("abc", 3) -> "abcabcabc"
StrRepeat("abc", 0) -> ""
StrRepeat("abc", 1) -> "abc"