Start a new topic

Conditional statement based on string comparison

I need to do a string comparison using wildcards (does one string contain another string) and then do something based on the result of the string comparison.

In the attached screen shot, I want to be able to see the appropriate report line execute depending on what I set UserName and/or userButtonCaption variables equal to.


Here is a solution:


You could also use the string function instr()


Login or Signup to post a comment