[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Simple way to create a big string of blanks?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 19 Aug 2009 19:31:56 -0300
> 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