In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Remove characters from a string upto a special character

aravindraj004
5 - Atom

I have a columns with varying string length like

 

1) 102_2345

2) 23_12357

3) 786_8790

 

I have to remove all characters up to "_"  and result should look like

 

1)2345

2)12357

3)8790

 

Help me out in this requirement

4 REPLIES 4
mborriero
11 - Bolide

Hi @aravindraj004, you can use a regex or a formula tool.

Have a look at the workflow attached.

suli
9 - Comet

You can also use 'Text to columns' (from Parse category) tool, simply use '_' as a separator for 2 columns, and drop unnecessary column in the later steps.

 

Hope that helps!

mborriero
11 - Bolide

Amended. I did not read up to _

 

I am still sleeping!

aravindraj004
5 - Atom

Thanks mborriero.This worked perfectly

 

Labels
Top Solution Authors