Skip to main content
Question

Wild Card Syntax in If Statement

  • October 25, 2019
  • 0 replies
  • 130 views

Forum|alt.badge.img+14

What is the syntax for a wildcard in an if statement?

For example, if I have a text field that contains multiple names, and I want to have a condition if the field contains the name Mike,

The following returns a field with the name mike, but what if I dont care about exact match, just want it to contain that word?
If([Text Field] = "Mike", condition, condition)

I was hoping for something like
If([Text Field] = *"Mike"*, condition,condition)

That didn't work though. Can't find the correct syntax?

Thanks



------------------------------
Mike Tamoush
------------------------------

Forum|alt.badge.img+14
  • Author
  • Quickbase Alumni
  • October 25, 2019
Of course I found my answer right after I posted. Looks like contains function is what i want. Now, how to I delete this post...?

------------------------------
Mike Tamoush
------------------------------