Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Splitting to Rows

Hi,

 

In a field I have the text:

 

charlie,groves[CG],emilia,banks[EB]

I want to return two rows:

charlie,groves[CG]
emilia,banks[EB]

How would I do this? As the delimiter comma is frequent

4 REPLIES 4
ShankerV
17 - Castor

Hi @nickmarlboroughGS 

 

One way of doing this.

 

Screenshot 2023-07-20 133152.jpg

 

Many thanks

Shanker V 

ShankerV
17 - Castor

Hi @nickmarlboroughGS 

 

Step 1: Input

 

step1.jpg

 

Step 2:

 

s2.jpg

 

Step 3:

s3.jpg

 

Many thanks

Shanker V 

flying008
15 - Aurora

Hi, @nickmarlboroughGS 

 

You can use comma and $ as regex delimiters to split string.

 

录制_2023_07_21_07_53_28_746.gif

 

INPUT OUTPUT
   
Txt Txt
charlie,groves[CG],emilia,banks[EB] charlie,groves[CG]
ABC.123[ABC],EFG.456[EFG],opq[123] emilia,banks[EB]
  ABC.123[ABC]
  EFG.456[EFG]
  opq[123]
Ranga116
6 - Meteoroid

Hi, @nickmarlboroughGS  by replacing one comma that we want to split at with any letter/character bybusing formula tool and then splitting by using that perticular character/letter using text to column tool.

Labels
Top Solution Authors