endsWith
<string_w>:endsWith(s, [case_insensitive])
Verifica se la stringa finisce per la stringa passata. Il confronto è case sensitive. Se il secondo parametro è valorizzato (es. 1) il confronto diventa case insensitive.
Esempio.
local auto = _U("автомобиль")
local res = auto:endsWith(_U("мобиль"))