Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7567 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

what function would i use to test if a given text string appears in a text field.

ie. say i have a field that holds the value "THIS STRING IS TO BE TESTED" and I have a function that calls... If FIELDNAME CONTAINTS "STRING" RETURN POSITIVE. any help would be appreciated.

cheers!

Posted

If [PatternCount( " " & field " ", " stringtotest " )]

or

If [Position( " " & field & " ", " stringtotest ", 0, 1 )]

The extra spaces are to ensure that a partial match isn't found, such as looking for 'ask' in a field containing 'task'.

This topic is 7567 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.