Options

Can I used

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
edited August 2020 in Help
Can I used "LIKE" on branch opeartor
e.g. I need to check "%{periodicity} LIKE %ROLLING%"

how to write this condition on branch

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist
    edited August 2020
    Hi,
    i think you want to do something like
    matches(%{periodicity},".+ROLLING.+")
    That uses regular expressions.
    Best,
    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    matches(%{periodicity},".+ROLLING.+") ,Not work for me
    In %{periodicity}, values coming like ROLLING_10,ROLLING_20 etc
  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist
    Hi,
    then you need to adapt the regex to this. More like
    .*ROLLING.* 

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.