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" <petite_abeille@mac.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
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