Str.notin
From OpenEUO
Calling Pattern
Call
local r = sl.str.notin(s1,s2)
Args
s1,s2 are strings
Results
r is a boolean
Usage Example
local s = sl.str local r = s.lower('A bum on the beach.','bum') print(tostring(r))
--> false
Description
Notin returns true if and only if string s2 is not a substring of s1. Otherwise it returns false.
Upon Error
Notin fails silently. If notin receives inappropriate arguments then nil is returned.