Forum Discussion

dhundley's avatar
dhundley
Regular Contributor
4 years ago
Solved

if then statement conditions

I am in the middle of a free trial period and have a question about the IF THEN statement for keyword scripts. I would like my code expression to essentially say this:

If ProjectSuite.Path "contains" the string "xyz" THEN

<do something>

 

but when i click on the conditions ellipses in the IF THEN specify conditions box all I see available are 

equals

does not equal

greater than

greater than or equal to

less than

less than or equal to

 

is there no way to have the expression use the string function "contains" or the contains operator "~". My base scripting language is javascript. this is my first posted question. let me know if I need to provide any additional information to expedite this. thanks