String.repeat: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Useful Function}} __NOTOC__ This function repeats a substring n times. ==Syntax== <syntaxhighlight lang="lua"> string string.repetition ( string what, int n ) </syntaxhighlight> ===Required Arguments=== * '''what''': String you want to repeat * '''n''': Number of times you want the string to repeat ===Returns=== Returns repeated string ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.repetition(what, n)...") |
m (Moved string.repeat to string.repetition due to syntax issues) Tag: New redirect |
||
Line 1: | Line 1: | ||
#REDIRECT [[string.repetition]] | |||
Latest revision as of 08:22, 6 June 2024
Redirect to: