[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: extending string
- From: "Duncan Cross" <duncan.cross@...>
- Date: Sat, 12 May 2007 16:21:05 +0100
str = str .. 'and some added text'
Lua doesn't have mutate operators like +=, and two dots (..) is the
On 5/12/07, Aljaz <firstname.lastname@example.org> wrote:
I'm new to lua and I have read documentation.
However, I'm having difficulties finding out how to 'extend' lua string this
str = 'some string... '
str += 'and some added text'
str would be: 'some string... and some added text'.
Basiclly I want to just add (asign) data to the end of string.
How to do this?
Thanks for help