Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
micheledenardi
Specialist II
Specialist II

Scompose string in each character

Dear all,
i have a record like this:

Field1
AB123/$_§*5G

and i would like to split each character on different row, to obtain this:

Split
A
B
1
2
3
/
$
_
§
*
5
G

How to achieve it?

Thanks

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Labels (5)
1 Solution

Accepted Solutions
Clement15
Partner - Specialist
Partner - Specialist

 

Hello,

You can use something like this.

 

Data:
LOAD * INLINE [
Field1
AB123/$_§*5G
];

SplitData:
LOAD
Mid(Field1, IterNo(), 1) AS Split
RESIDENT Data
WHILE IterNo() <= Len(Field1);

 

View solution in original post

1 Reply
Clement15
Partner - Specialist
Partner - Specialist

 

Hello,

You can use something like this.

 

Data:
LOAD * INLINE [
Field1
AB123/$_§*5G
];

SplitData:
LOAD
Mid(Field1, IterNo(), 1) AS Split
RESIDENT Data
WHILE IterNo() <= Len(Field1);