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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

getting an extract of a field

Hello everyone i need your help on something i have a field that kind of looks this way "xvi-0956LK-xva0OL" I need to create a new field from the old one where i only display the middle part " 0956LK". Thanks for your help PS: this need to be done in the edit script part not in the reporting part

4 Replies
RedSky001
Partner - Creator III
Partner - Creator III

=SubField('xvi-0956LK-xva0OL','-',2)

jagan
Partner - Champion III
Partner - Champion III

Hi,

You can also try using

=TextBetween('xvi-0956LK-xva0OL','-','-')

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

Hi,

SubField('xvi-0956LK-xva0OL','-',2) as NewField

Thx,

Regards,

Prasath

RedSky001
Partner - Creator III
Partner - Creator III

I guess you didn't read the first reply