!FIND_IN_SET('needle', haystack)
FIND_IN_SET returns the index of the match if it is found, and returns 0 if it is not found. Since 0 is FALSE you can just use NOT FIND_IN_SET('needle', 'haystack')
FIND_IN_SET
NOT FIND_IN_SET('needle', 'haystack')
2.1m questions
2.1m answers
60 comments
57.0k users