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.
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