lua-users home
lua-l archive

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


In message <d010fc8a0610140018s79bcd587h9102360e4a250c39@mail.gmail.com> you wrote:

> I can write
> 
> s="xxxxxxxx"
> print(s:upper())
> 
> why not
> 
> "xxxxxxxxxx":upper()
> 
> ?

Because "xxxxxxxxxx" is not an identifier but an expression?
Try ("xxxxxxxxxx"):upper() .

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/