Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Every 5 characters insert a new column

BautistaC888
8 - Asteroid

Hello,

I need to parse data into a new column every 5 characters. For example:

 

Input:

0a4fs5re2s
7udsalsa35

 

Output:

0a4fs5re2s
7udsalsa35

 

I think Text to columns can do it, but i'm stuck on the delimiter.
Thank you.

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

@BautistaC888 

 

You could use regex to parse this:

(.{5})(.{5})

 

Luke_C_1-1616516276882.png

 

apathetichell
20 - Arcturus

Regex tool - parse mode:

(.{5})(.{5})

 

That will give you two columns of any 5 characters.

messi007
15 - Aurora
15 - Aurora

@BautistaC888,

 

Please see below:

 

messi007_0-1616516435177.png

 

Attached the workflow,

Hope this helps,

 

Regards

Labels
Top Solution Authors