String.rep: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Returns a string that is the concatenation of n copies of the string s. <source lang="lua"> (string),..." |
No edit summary |
||
| Line 4: | Line 4: | ||
Returns a string that is the concatenation of n copies of the string s. | Returns a string that is the concatenation of n copies of the string s. | ||
<source lang="lua"> | <source lang="lua"> | ||
(string) | (string) = string.rep(s,n) | ||
</source> | </source> | ||
'''s | '''s''': (string) string to copy ''''''<br/> | ||
'''n | '''n''': (number) how many times to copy a string ''''''<br/> | ||
'''Returns''' (string) concatenated by n copies<br/> | '''Returns''' (string) concatenated by n copies<br/> | ||
Revision as of 09:17, 23 August 2018
Available since: Gideros 2011.6
Description
Returns a string that is the concatenation of n copies of the string s.
(string) = string.rep(s,n)
's: (string) string to copy '
'n: (number) how many times to copy a string '
Returns (string) concatenated by n copies