Forum Discussion

Gugan_BI's avatar
Gugan_BI
Frequent Visitor
5 years ago
Solved

Remove item from list starting with underscore

Hi, 

 

 Is there any options to remove items from a list which starts with underscore.

_1,_2,_3 should be removed. It can have any number of items starting with underscore

 

List

A

B

_1

_2

_3

 

Tried List.removematchingitems that remove only exact match.

 

 Thank you

  • = List.Select(YourList, each not Text.StartsWith(_,"_"))

2 Replies