Difference between revisions of "String.rep"
From GiderosMobile
Line 6: | Line 6: | ||
(string) = string.rep(s,n) | (string) = string.rep(s,n) | ||
</source> | </source> | ||
− | '''s''': (string) string to copy | + | === Parameters === |
− | '''n''': (number) how many times to copy a string | + | '''s''': (string) string to copy <br/> |
+ | '''n''': (number) how many times to copy a string <br/> | ||
+ | === Return values === | ||
'''Returns''' (string) concatenated by n copies<br/> | '''Returns''' (string) concatenated by n copies<br/> |
Revision as of 10:44, 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)
Parameters
s: (string) string to copy
n: (number) how many times to copy a string
Return values
Returns (string) concatenated by n copies