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: 
User12321
Contributor III
Contributor III

Extract text before a fixed phrase

Hi,

I want to create a table in load where the values are the text extracted before a fixed phrase (example: 'has met our orders') in the field names.

Can someone help please. Thank you.

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

You could do this by using mid() and index().

Try something like this:

mid([Company],1, index([Company], 'has met our orders')-1) as Company

View solution in original post

1 Reply
Vegar
MVP
MVP

You could do this by using mid() and index().

Try something like this:

mid([Company],1, index([Company], 'has met our orders')-1) as Company