This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Alteryx Gallery is experiencing a problem in which system emails are not being sent out. As a result, if you are attempting to sign up for a new account, you may be unable to verify your email address. We are working to solve this as soon as possible and will remove this notice once resolved.
When I use Contains in an IF statement do I need to include =-1 to ensure I only get entries where the statement is true? I know that if I'm looking for anything that is false I would need =0. However, I don't know if the =-1 is just overkill or if it is really needed. Would the 2 examples below yield the same results?
Here is an example of what I'm talking about
IF Contains("ABC123", [letters]) = -1 THEN "Awesome" ELSE "Shucks" ENDIF
IF Contains("ABC123", [letters]) THEN "Awesome" ELSE "Shucks" ENDIF