Difference between revisions of "String.rep"

From GiderosMobile
Line 13: Line 13:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (string) <translate>concatenated by n copies</translate><br/>
 
'''<translate>Returns</translate>''' (string) <translate>concatenated by n copies</translate><br/>
 +
 +
{{String}}

Revision as of 23:08, 11 February 2020


Available since: Gideros 2011.6
Class: string

Description

Returns a string that is the concatenation of n copies of the string s.

(string) = string.rep(s,n)

Parameters

s: (string) string to copy
n: (number) how many times to copy a string

Return values

Returns (string) concatenated by n copies