Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Hi ,
I would like to branch on variable ‘a’ if ‘a’ contains whole string “following has been assigned”. How can I achieve this. Please suggest.
Thanks, Monica
Hi,
Contains can be checked using //. Ex. %a% == /following has been assigned/
Thank you.
Yes, that’s how regex work. It will match not only whole string, it will also match a word (eg. following) in the sentence. Correct me if my understanding is wrong.
Hi Mahesh,
It will match whole string “following has been assigned” not part of it.
Ex: following has been assigned - TRUE following has been assigned:abc - TRUE following - FALSE
Yes, you are correct. My bad