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
15 - Aurora
15 - Aurora

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


Bulien
atcodedog05
22 - Nova
22 - Nova

Hi @eduardomarchesin 

 

Use text to column tool like below

 

atcodedog05_0-1645627776512.png

 

Hope this helps : )

 

TheOC
15 - Aurora
15 - Aurora

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


Bulien
binuacs
21 - Polaris
eduardomarchesin
8 - Asteroid

Hi TheOC,

 

Perfect, it worked.

 

Thank you very much for your help,

Rgds

Eduardo

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels