Anonymous user
Repeat a string: Difference between revisions
m
→{{header|Lua}}
m (→{{header|Lua}}) |
|||
Line 807:
=={{header|Lua}}==
<lang lua>function repeats(s, n) return n > 0 and s ..
Or use native string library function
|