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

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
Partner - Master II
Partner - Master II

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
Partner - Master II
Partner - Master II

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