community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
SOLVED

How do I drop a particular word

Bolide

Hi All,

 

Thanks in advance for any help!

 

How can I drop a particular word, whenever, found out of a given field?  I want to drop the word "Parish" for certain (for state of LA) and maybe the word "County" too.

 

Example:

 

County Name                               County Name Results

Benton County                              Benton

St Charles County                        St Charles

Arnold Parish                                Arnold

St Louis County                            St Louis

 

Thanks

 

Alteryx Certified Partner
Alteryx Certified Partner

The simplest version is to use a Formula tool to replace the word with a blank with a formula like this:

 

Replace([County Name]," County","")

 

I've attached an example that show this in action along with another method that uses the Find Replace tool.

Bolide

Prefect, thx!

Labels