alestane icon

Simple CSV search

alestane | PRO | 01/23/13 02:40:40 PM UTC | 0 ⭐ | 304 👁️ | Never ⏰ | []
Lua |

220 B

|

None

|

0 👍

/

0 👎

function lookForWord(target)
    target = target:upper()
    for line in io.lines(dictionaryFileName) do
        for word in line:gsub("[^,]+") do
            if word:upper() == target then
                return true
            end
        end
    end
    return false
end

Comments