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.

splitting a column in 2

Claudiu159
6 - Meteoroid

hello, what would be the best approach to split product Code in two fields, using “_” as separator?

Thank you.

4 REPLIES 4
MilindG
12 - Quasar

You have several options to do that but take a look at the workflow. I used Text to column tool which prob is the easiest.

 

Below is more info on the Text to column tool

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Text-To-Columns/ta-p/3...

binu_acs
21 - Polaris

@Claudiu159 One way of doing this with regex replace function

 

binuacs_0-1663678973309.png

 

Emmanuel_G
13 - Pulsar

@Claudiu159 

 

The text to columns tool allows you to achieve to this result easily.

 

Please do not hesitate to mark this answer as solution if helped.

 

Emmanuel_G_0-1663679645577.png

 

pmyers
Alteryx
Alteryx

Text To Columns

 

pmyers_0-1663680118648.png

 

Labels
Top Solution Authors