Using :find command where string is not found

I’m trying to use the :find command but don’t know how to check if the string is not found.

 :put ([:find "abcd" "a"]=0); #Returns true



  :put ([:find "abcd" "x"]=""); #Returns false

What is the response from the :find command when the searchstring is not found? I’ve tried \0 null nothing isnull and many others to no avail.

Thanks

I’ve worked out a solution, you can use :len

:if ([:len [:find "abcd" "x"]] > 0) do={:put "Found";} else={:put "Not Found";};