Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

remove extra space

hi2019
8 - Asteroid

Hi

 

I need:

 

logic that can identify and remove if 2+ spaces or extra space at beginning or end of data - cant I use Data Cleanse for this?

 

 

Also, in the State column I see .Texas  and I see 0Texas

How do I remove the .  and 0 in front of Texas?

 

Which goes with this requirement

 

  • Remove symbols except - &
    • Omit extra space left for these symbols: ‘ . , #
    • Leave space in place of for these symbols: / +

thanks!!!!

 

 

any help would be awesome!

2 REPLIES 2
ChrisTX
16 - Nebula
16 - Nebula

Use a Formula tool, review the functions available:  String Functions (alteryx.com)

 

Try Trim, ReplaceChar, Replace

cjaneczko
13 - Pulsar

For the numbers and periods you can check the following off in the Data Cleanse tool.

 

image.png

Labels
Top Solution Authors