How to remove item from array based on value?

for example I have array below

my_Array = new string(){“value1″,”value2”, " test 3" , "hello"}

I wanted to Remove value equal to “Hello”. I cant use the index since hello could be in different position

@Jelrey
it could be done like:

In general it is recommended to use a list instead of array and do using the remove function or remove from collection activity

1 Like

RemoveValueFromArray.zip (16.4 KB)

Hi
Please find the attached sample workflow fiel

Mark as solution if it works

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.