lua-users home
lua-l archive

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


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.

Michael

----- Original Message ----- From: "Petite Abeille" <[email protected]>
To: "Lua list" <[email protected]>
Sent: Wednesday, August 19, 2009 1:17 PM
Subject: Re: Simple way to create a big string of blanks?



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

Is there an easy way to create a large string of blanks?

http://www.lua.org/manual/5.1/manual.html#pdf-string.rep