Skip to main content
December 13, 2022
Question

Array of items

  • December 13, 2022
  • 3 replies
  • 0 views

Hi, I have an array like this wherecontains(2,{1,25,32,4})

I want to get 25 and 32 out from this. I will just pass 2 to this array as search parameter.

    3 replies

    stefanhelzle0001
    Brainy
    December 13, 2022

    a!localVariables(
      local!values: {1,25,32,4},
      index(
        local!values,
        where(like(local!values, "*2*"))
      )
    )

    rupaa0642Author
    December 13, 2022

    Thank you, in case if this 2 is rule input or another local variable?