local export = {} function export.main (str) local vowels = {'a', 'ı', 'o', 'u', 'e', 'ə', 'i', 'ö', 'ü'} local lastVowel = nil for i = #str, 1, -1 do local char = str:sub(i, i) if vowels:find(char, 1, true) then lastVowel = char break end end return lastVowel end