0

Variable Set with a string search

Hi, 

 

Is there a way to set a variable with a string search ? We have used the process described here : https://community.pyramidanalytics.com/t/k9matw/variable-set-with-a-string-search before moving to P18.

 

But it is not working anymore (Descendants and InStr at least are not recognized in P18)

 

Is there any way to do it with Pyramid? 

 

Thank you for your help

Romain. 

1 reply

null
    • "making the sophisticated simple"
    • AviPerez
    • 5 yrs ago
    • Reported - view

    The variables currently work with numeric values only. To achieve the outcome you are after try using an IF/CASE statement to check the value of the variable, and then swap to the desired text value if true or false etc.

Content aside

  • Status Answered
  • 5 yrs agoLast active
  • 1Replies
  • 26Views
  • 2 Following