[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Simple way to create a big string of blanks?
- From: "Michael Newberry" <mnewberry@...>
- Date: Wed, 19 Aug 2009 15:41:34 -0700
Yes, "subtle". But remember words can be important.
Thanks for your help.
Michael
----- Original Message -----
From: "Roberto Ierusalimschy" <roberto@inf.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Wednesday, August 19, 2009 3:31 PM
Subject: Re: Simple way to create a big string of blanks?
I actually didn't try using string.rep() because I veered away when I
read its documentation that said it "concatenates". So it did not sound
like the tool to use.
The manual does not say it "concatenates". It says "Returns a string
that is the concatenation of n copies of the string s." There is a subtle
(but important) difference.
-- Roberto