I want to find a string in a string without it being case sensitive.
I thought of a way to possibly do it, but I can't help but think there should be a much simpler way, please tell me if you know a way to do it.
local found = mainString:lower():find(searchString:lower(),1,true) ~= nil
where mainString and searchString are previously defined.