lua-users home
lua-l archive

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


Hi,

I am learning lua because I want to use LuaTeX. My question is probabely very simple but...
I want to use string.find and it returns two numbers, but I do not know how to use this return.
I tried :
a="cou   cou cou";
b=string.find(a,"(%s+)");
but b[1] and b[2] does not work.
Thanks for your help.
Best regards,

--
Maxime Chupin