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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

String Function

Hello Dear Experts,

i just want to exclude LOB with below listed files on listbox

please help me to get exact syntax

Thanks,

Niranjan

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe

=If( not FIELD like 'LOB*', FIELD)

or

=Mid(FIELD,5 )


depending on what you are trying to achieve


edit:


Or


=If(Left(FIELD,3)='LOB', Mid(FIELD,5 ), FIELD)

View solution in original post

5 Replies
swuehl
MVP
MVP

Maybe

=If( not FIELD like 'LOB*', FIELD)

or

=Mid(FIELD,5 )


depending on what you are trying to achieve


edit:


Or


=If(Left(FIELD,3)='LOB', Mid(FIELD,5 ), FIELD)

Not applicable

Try with Replace function:

Trim(Replace(FieldName,'LOB ',''))

or you can use Sub Field function as well

Trim(sunfield(Fieldname,'LOB',2))

Kushal_Chawda

If( not wildmatch(Field, 'LOB*'),Field) as Field

Anonymous
Not applicable

Hi

Why not use purgechar(Field,'LOB') this will remove LOB and leave the rest of the string in tact.

Kindest Regards

Brian

NavinReddy
Creator II
Creator II
Author

Hi Stefan,

Thanks for your reply its works for me

Best Regards,

Niranjan