Dynamic Script Variable String Contains Operation

Hi,
I am trying to check my string contains some specific string value. Is there a String function I can use in dynamic script variable ?
Ex: TRUE_FOUND
How to check my String has "TRUE" in the dynamic Variable.

Hello,

You can utilize the match function in a dynamic expression: https://help.mypurecloud.com/articles/additional-functions-to-use-in-dynamic-variables/#RegexDocumentation-match(value,pattern[,flags,groupIndex])

Best

1 Like

match({{your_variable_name}}, "TRUE") //this will return true if it is found.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.