ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:strrepeat

This is an old revision of the document!


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.1489587655.txt.gz · Last modified: 2017/03/15 16:20 by korshun