lua-users home
lua-l archive

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


> 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