Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Remove a list of words from a string

$
0
0

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 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>