Skip to content

text matching and substitution

4 messages · simeon duckworth, Stephan Kolassa

#
Hi Simeon,

?gsub

HTH,
Stephan

simeon duckworth schrieb:
#
Hi Simeon,

I'm slightly unclear on what exactly you are trying to achieve... Are 
you trying to replace every entry of colours which *contains* "red" by 
"red", dropping the rest of the entry? And same with "blue"?

A short example "before & after" would be helpful...

Best,
Stephan


simeon duckworth schrieb: