Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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,'|')