Removing array item in array of strings where the length of the string is 1

Hi everybody I’m trying to remove an array item in array of strings where the length of the string is 1. So I want to check all array items and only delete the item (string) that has a length of 1

Does anybody know how to do this?

Hi

Hope this expression in a assign activity help you resolve this using a assign activity

arroutput = arrinput.Where(Function(a) a.ToString.Length>1).ToArray

Cheers @Carlos_Marques

1 Like

Works perfect!!! Thanks!

1 Like

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