how to apply strip on str conditions #109
Unanswered
zakerzadeh
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You can use a syntax like Python's list comprehension. I can't remember if it's documented but it should work for what you need as long as the function you want to call is defined. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to write a rule like below
"name in ['xyz glass', 'chance aut', 'Speedy shop body']"
I know i can apply some functions like lower on "name" but how can I apply some string processing like strip on the values in the array before the rule is being evaluted?
Beta Was this translation helpful? Give feedback.
All reactions