Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
userid128223
Creator
Creator

long string into data field

I have a long string in text file.

Demo.txt

Zack Ryan<afda>;John Nu<ad123>;Paul Barter<33c>;David Wu<333>;Troy Naly<ad44>

I want the results to be like:



Name                    // Field Header

Zack Ryan

John Nu

Paul Barter

David Wu

Troy Naly

How can i achieve above.

1 Reply
sunny_talwar

May be this

Table:

LOAD SubField(Name, '<', 1) as Name;

LOAD SubField(@1, ';') as Name

FROM

[..\..\..\Documents\Demo.txt]

(txt, codepage is 1252, explicit labels, delimiter is '\t', msq);