Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Billy_u
Creator
Creator

replace, substring

hello everyone,

I would like to make a substring to get how is the image,

I tried with the replace, but then also deletes me the last lines that are correct, I should set an if, with index, but I always have the same problem that cuts even the right ones

 

thank you

Labels (2)
2 Solutions

Accepted Solutions
tresesco
MVP
MVP

You could replacing ' lorem '  (note spaces at the beginning and at the end) with a single space, i.e. - ' '. So try like:

Replace( [Field input], ' lorem ', ' ') 

View solution in original post

Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi there

A quick workaround could be to replace the word and the spaces with a space. In other words, it will look for lorem where there is a space before and after it and replace them with a single space. For example Replace([Field input],' lorem ',' ').

Regards,

Mauritz

View solution in original post

3 Replies
tresesco
MVP
MVP

You could replacing ' lorem '  (note spaces at the beginning and at the end) with a single space, i.e. - ' '. So try like:

Replace( [Field input], ' lorem ', ' ') 

Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi there

A quick workaround could be to replace the word and the spaces with a space. In other words, it will look for lorem where there is a space before and after it and replace them with a single space. For example Replace([Field input],' lorem ',' ').

Regards,

Mauritz

Billy_u
Creator
Creator
Author

succeeded, great

 

thank to Mauritz and Tresesco