How to search multiple strings in a string?
问题 I want to check in a powerquery new column if a string like "This is a test string" contains any of the strings list items {"dog","string","bark"} . I already tried Text.PositionOfAny("This is a test string",{"dog","string","bark"}) , but the function only accepts single-character values Expression.Error: The value isn't a single-character string. Any solution for this? 回答1: This is a case where you'll want to combine a few M library functions together. You'll want to use Text.Contains many