Add array item to new array

Hi @william.coulson

U can do the following way

Initislse a list list_1= New List (Of String)

  1. Use for each loop to loop through array

Inside it use an if Condition with condition as

item.Contains(specific text),

If it is true

Then use add to collections activitiy for adding item to list_1

After adding required items to collections

At the exit, use

list_1.ToArray to convert list to array

As u can’t add items to array so add items to list and convert list to array, this is the overall logic applied here.

Hope it helps you

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

3 Likes