Jump to content

Is there an 'includes' or 'contains' function for an IF statement in a custom expression


Recommended Posts

  • 3 months later...

Hi Chris, you can use

~=, on the expression, here is the help content

Can be part of an 'If' or 'Case' statement. Returns true if the Arg2 regular expression string matches the Arg1 string.

Examples:

If( "aab" ~= "a+" , "true", "false" )

Case when "aba" ~= ".a+$" then "true" else "false" end

OR

the Find function, should the value is a Text, the result is 0 or null if their is no matching or the index of the first occurence.

Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...