Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Pedro_Rodriguez
Contributor III
Contributor III

Split one delimited field into x

Hi all,

I have something like this:

USERROL
a1,2,5
b2,4
c1
d3,4,5

 

And I want to end up with something like this:

USERROL
a1
a2
a5
b2
b4
c1
d3
d4
d5

 

That is splitting the field Rol into x rows.

Thanks a lot in advance!

Labels (2)
1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try using subfield() like:

Load
        USER,
        SubField(ROL, ',') as ROL
From <>;

View solution in original post

1 Reply
tresesco
MVP
MVP

Try using subfield() like:

Load
        USER,
        SubField(ROL, ',') as ROL
From <>;