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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
maddysalunke
Contributor II
Contributor II

Remove multiple strings from a field value

Hi all,

I have a table with column called "Group"

it has values like

 

Group

Group Client - ALL

Group Client- ABC

Group Client - XYZ

.

.

.

]

In the filter , I want to remove "Group Client -" chars from the value.

Any idea ?

PurgeChar(Group,'Group Client -') is not working.

 

Labels (6)
3 Replies
Or
MVP
MVP

Replace(Group,'Group Client -','') perhaps?

BrunPierre
Partner - Master II
Partner - Master II

Like this.

Trim(SubField(Group,'-',-1))

Kushal_Chawda
MVP
MVP

@maddysalunke  one more way

LOAD *,
     trim(TextBetween(Group,'-','')) as String
FROM Table;