How to get rid of item that starts with specific character in Array?

Hello

ArrVar=Apple,Banana,Melon,Ant

I want to get rid of the items starts with “A”

ArrVarResult=Banana,Melon

How can I do it?

@Golf_Aquascape

Please try this

ArrVar.Where(function(x) Not x.StartsWith("A")).ToArray

Hope this helps

Cheers

2 Likes

@Golf_Aquascape
Please try this