ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Every 5 characters insert a new column

BautistaC888
Asteroide

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 RESPOSTAS 3
Luke_C
17 - Castor
17 - Castor

@BautistaC888 

 

You could use regex to parse this:

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

 

Luke_C_1-1616516276882.png

 

apathetichell
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

Rótulos
Autores com maior número de soluções