Fine
you were almost done @AryanSingh
–once gettting with array use for each loop and pass the array variable to that and change the type argument as string
–then inside the loop use a if condition and mention like
item.tostring.contains(“BS_”)
If true will go to THEN part where use a add to collection activity like this
–in collections property mention like out_list_filepath
–and in item property mention like this
item.ToString.Replace(“BS_”,"")
and change type argument to string
where out_list_filepath is a variable of type list(of string) with default value like
New list(of string) defined in the variable panel
–now we can use this out_list_filepath as a collection of filenames and we can pass that to a for each loop and make use of if where we want
simple isnt it
Cheers @AryanSingh