Contains operator in RPAx



Good day

Why does the contains if-statement not work?

I have used it in a prior version (1.1.9) but now if you use it the field of the variable in the statement stays light red?




Gerhard, are you using a string variable in the first box?
If yes, than it causes the error. Contains currently only works with List variables. We will fix it soon, though, so it will be possible to use it with strings, too.

Try using a regular expression instead: .*${variable}.* . This should work the same as “contains”.