Thursday, May 3, 2012

Multiple results 를 return 하는 함수

 local s, e = string.find("My name is Roger", "name")  
 print(s, e) --> 4 7  

No comments:

Post a Comment