How to delete an element from an array?

Hi All

I have an array of strings. I need to delete a string from the array. How to do that ?

ArrayVariable.Remove(“Your removable value”)
or
ArrayVariable.Remove(Index)

Do we have a need to remove from array ? Instead we can filter the value and proceed

In Assign Activity
Array = strArray.Where(Function(s) s <> “toberemoved”).ToArray

1 Like

Array[String]