Quantcast
Viewing all articles
Browse latest Browse all 217197

Remove a list of words from a string

Hi

 

 seeing that you aced the question about removing characters, do you know an efficient way to remove a list of words from a string?

 

I know this doesn't work since Text.Remove takes a list of characters, not a list of strings.

 

= Text.Remove ( "PeterPaulMary", { "Peter","Mary" } )

 

I can do Text.Replace but that will only do one word at a time.

 

Thanks!


Viewing all articles
Browse latest Browse all 217197

Trending Articles