lua-users home
lua-l archive

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


The following approach is widely used in Lua scripts:
for i = 1, #str do
   local c = str:sub(i, i)
   ....
end
Will this code work in LuaRT?