The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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.
RÉSOLU

Remove characters from a string upto a special character

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 RÉPONSES 4
mborriero
Bolide

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

Have a look at the workflow attached.

suli
Comète

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
Bolide

Amended. I did not read up to _

 

I am still sleeping!

Thanks mborriero.This worked perfectly

 

Étiquettes
Auteurs des meilleures solutions