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.
1
local
found
=
mainString:lower():find(searchString:lower(),
,
true
) ~
nil
where mainString and searchString are previously defined.