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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Script PRob

Hey,

I ahve id as:  ABC\gnikhil

In my script, i want Id as : gnikhil only. How to acheive this?

thanks

1 Solution

Accepted Solutions
prieper
Master II
Master II

SUBFIELD(MyField, '\', 2)

Peter

View solution in original post

3 Replies
prieper
Master II
Master II

SUBFIELD(MyField, '\', 2)

Peter

fvelascog72
Partner - Specialist
Partner - Specialist

Try:

Subfield([FIELD],'\',2)          as "FIELD"

Not applicable

Use SubField function in script

SubField(<your field>,'\',2) as <your field>

the third parameter indicates the column that interests you after the split, and the count starts at 1