lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Aug 19, 2009, at 10:22 PM, Michael Newberry wrote:

You mean like string.rep()? No, I'm wanting to avoid concatenations as much as possible. Sure I could do something like make a literal string of 100 and then concetenate 25 of them, but the number of bytes is arbitrary.

http://www.lua.org/source/5.1/lstrlib.c.html#str_rep