String.rep: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/string|string]]<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate>Returns a string that is the concatenation of n copies of the string s.</translate>
<translate>Returns a string that is the concatenation of n copies of the string s.</translate>

Revision as of 08:29, 24 August 2018

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