How to get string in a list based on conditions

Hi Team

I have added click copy selected text and passed it into collection

Based on the condition 1

I have a list of string such as C C C should skip

and another condition as A C A should process the step

how can I give it @palaniappan

Thanks
Ashwin S

Hi @l@kshm@n

Hi Aswin

kindly elaborate this pls

and to get check whether a list has a element or not we can use contains method like this list<>.Contains(T)
and are we expecting that kind of operation here

Cheers @AshwinS2

Hi @Palaniyappan
i hv used copy selected text & p@ss it to @dd to collection

so b@sed on th@ i hv list of elements such @s list1={C,C,C}

list1 h@s to do one process

list2 h@s {C G C} h@s to do one process

Th@nks
@shwin.S

Hi @Palaniyappan

I have used Click Copy Selected text and if i have a grid of values like this
A
C
A
Able to split based on conditions

not StatusColumn.ToString.Trim.Split({Environment.NewLine.ToArray},StringSplitOptions.RemoveEmptyEntries).ToString.Equals(ā€œCā€)

then true or false

in this scneraio it is going for true and not for false condition

same vice versa

C
C
C
for this also i am getting false

Help me

Thanks
Ashwin S