Like operator

I have a condition in an event in application studio and have been searching unsuccessfully for an equivalent of the SQL Like or c# .contains(). Can someone help please and thank you.

2 Likes

Try js .includes() like so:

#_'{SomeDataView.SomeField}'.includes('somevalue')_#
2 Likes

That seemed to have worded, how can I see what the outcome is?

Preview then F12 browser tools. Then in preview tab turn on debug mode and look in the browser tools console tab.

Sorry, I am kind of new to all this. How do I turn on debug mode.

No Problem. Debug Tool or Ctrl + Atl + 8

My console in developer tools now has an orange error Icon on it and I don’t know why and press ctl + 8 doesn’t seam to do anything.

image

I don’t know what happened, help please.

I restore my preferences and it seems to be working now.