brunolopes
New Member
- Joined
- Nov 8, 2009
- Messages
- 49
- Reaction score
- 1
Can someone recommend a good LUA patterns tutorial? How to use patterns in string.match and string.find.
I know the meaning of all symbols, as: "%d+" or "%u". But I need some tips how to use them correctly. eg: How to select all four numbers in this string.
I know the meaning of all symbols, as: "%d+" or "%u". But I need some tips how to use them correctly. eg: How to select all four numbers in this string.
Code:
local num = "30 50 60 90"