We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Split a string in lines

eduardomarchesin
8 - Asteroid

Hi team,

 

I have the following file with codes, in some cases, the field is with more than one code, I would like split this string in lines.

For instance line 4 in the picture, has 2 codes 526640 526639:

1-526070

2-526098

3-526445

4-526640

5-526639

 

eduardomarchesin_0-1645627320250.png

 

Let me know if you have any question,

Rgds

Eduardo

5 REPLIES 5
TheOC
16 - Nebula
16 - Nebula

hey @eduardomarchesin 


For this you can use the text to columns tool, with the 'split by rows' option selected, and delimiting by a ' ' (space bar)

hope this helps!
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
atcodedog05
22 - Nova
22 - Nova

Hi @eduardomarchesin 

 

Use text to column tool like below

 

atcodedog05_0-1645627776512.png

 

Hope this helps : )

 

TheOC
16 - Nebula
16 - Nebula

I've attached an example to get you started, just replace the text input tool with your data :) 

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
binuacs
21 - Polaris
eduardomarchesin
8 - Asteroid

Hi TheOC,

 

Perfect, it worked.

 

Thank you very much for your help,

Rgds

Eduardo

 

Labels
Top Solution Authors