This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Splitting a String and Compare

I have a string as sample="food/drink/dessert"

1) I need to split this string at "/" into an array or list

2) I need to check if another string say mychoice (which has value as "drink") exists in sample array (mentioned above)

How can I achieve both the tasks (without using for loop) in One Identity Manager? Is there any list or contains method which can be used here?