ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Removing prefix and suffix

bbaisil
7 - Meteor

Hi,

 

I need to remove the prefix(') and suffix(') from the program display here. I just need the number.

For example '4747' to 4747.

How can I do that ?data.PNG

3 REPLIES 3
gabrielvilella
14 - Magnetar

Hi @bbaisil, you can use a Data Cleansing tool and remove punctuation or use a Formula to replace that character with nothing.

gabrielvilella_0-1642129010145.png

 

Qiu
21 - Polaris
21 - Polaris

@bbaisil 
Depends on the context of your " program display", better to use Regex.

0114-bbaisil-A.PNG0114-bbaisil-B.PNG

atcodedog05
22 - Nova
22 - Nova

Hi @bbaisil 

 

Another method is by using Trim function which removes characters from the beginning and ending.

 

Trim([program_display],"'")

 

Workflow:

atcodedog05_0-1642139664406.png

 

Hope this helps : )

 

Labels
Top Solution Authors