Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

taking a part of a string

hi

i have two kinds of input  format like:

F16071/0000000241

FF16071/000000014124A20

second one has double F at begining.

And i want only 10 characters after '/'

for these inputs i want  0000000241 as output

thanks

1 Solution

Accepted Solutions
Jason_Michaelides
Luminary Alumni
Luminary Alumni

As per your other post that is the same as this one...

If that is definitely the rule you want to apply then:

LEFT(TEXT(SubField(YourField,'/',2)),10)

or

TEXT(MID(YourField,Index(YourField,'/'),10))

Jason

View solution in original post

2 Replies
Jason_Michaelides
Luminary Alumni
Luminary Alumni

As per your other post that is the same as this one...

If that is definitely the rule you want to apply then:

LEFT(TEXT(SubField(YourField,'/',2)),10)

or

TEXT(MID(YourField,Index(YourField,'/'),10))

Jason

Not applicable
Author

thank you very much