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.
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