Skip to main content
faraza4154
June 9, 2023
Question

Best way to search a Suvstring inside a String

  • June 9, 2023
  • 6 replies
  • 0 views

I have a string something like "***-***" I just want to check if the string contains "-"?
What is the best way to achieve that?

6 replies

June 9, 2023

There are many possible ways to do it, but you can try this

or(find("-","***-***" ))

faraza4154
June 9, 2023

I used find I think I was sending parameters incorrectly thanks for sharing this.

mikes0011
Brainy
June 9, 2023

When I was newer to Appian I just kept this page (or its ancient equivalent) basically always open in a browser tab, and would just fish through it when I had a question, or sometimes browse through it anyway and see if it gave me ideas of new things to try.

stefanhelzle0001
June 9, 2023

This is something I tell any Appian junior I get in contact with. You need to know your toolbox! Pick a random Appian function every day and find out what it does and toy around with it.

stewart.burchell
June 12, 2023

Could be a daily post, Stefan: "Random Function of the Day" and see how far you can push each!

harshitb6843
June 9, 2023

like(local!text,"*-*")