ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:strrepeat

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"
functions/strrepeat.txt · Last modified: 2017/06/12 17:27 by korshun