[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: string.find
- From: Maxime Chupin <mc@...>
- Date: Fri, 15 Oct 2010 21:18:58 +0100
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