I have quite simple question, but my google research did not help.. I am pretty new to Lua, so..
I have string "XXXX_YYYYYY_zzzzzz" stored in local variable and I want to parse it and get 3 new local variables. Should I use string.find?
local str_ = "XXXX_YYYYY_zzzzzz"
local first_, second_, third_ = strind.find(str_, "^(%w+)_(%w+)_(%w+)$")