Forum Discussion
Anonymous
4 years agoNot applicable
Text.StartsWith with wildcards?
Hey folks. I have a list with a bunch of values in it. Using Power Query / M, I would like to search for all fields that start with "Q#", with # being a wildcard for a single numeric value. Everyt...
- 4 years ago
= List.Select( #"Get List of Column Names", each Text.StartsWith( _, "Q") and List.Contains({48..57}, Character.ToNumber(Text.Range(_,1,1))))
CNENFRNL
Community Champion
4 years ago= List.Select( #"Get List of Column Names", each Text.StartsWith( _, "Q") and List.Contains({48..57}, Character.ToNumber(Text.Range(_,1,1))))- Anonymous4 years agoNot applicable
That seems to have done it. Thanks for the assist!