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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
zwyne
Creator
Creator

String Manipulation

Hello everyone,PFA,

Hello everyone,PFA,

I would like create a create another column called Country from the column Assessment. My expected result is 

AssessmentCountry
AGLB - NBC Tanzania - CANBC Tanzania
AGLB - Ghana - CAGhana
AGLB - Kenya - CAKenya
AGLB - Mauritius - CAMauritius
AGLB - Tanzania - CATanzania
Labels (1)
2 Replies
m_woolf
Master II
Master II

=subfield(Assessment,' - ',2) as Country

j_puri_6601
Contributor II
Contributor II

=subfield(subfield(Assessment,' - ',2),' - ',1) as Country