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: 
mario-sarkis
Creator II
Creator II

indexing

Dear,

hope that you can help with this,

I have a field looks like this :

Input:

1|225536

11|31256323

13|54335

2|55363

I need the output field in the script all numbers before " | " in this case the output will be

1

11

13

2

Thank you

1 Solution

Accepted Solutions
bramkn
Partner - Specialist
Partner - Specialist

subfield(Input,'|',1)

View solution in original post

2 Replies
bramkn
Partner - Specialist
Partner - Specialist

subfield(Input,'|',1)

stabben23
Partner - Master
Partner - Master

use subfield, =subfield(Input,'|')