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

advanced cleaning string

i have a data like this

abc brand

cde

fgh

ijk Brand

i need a formula where i can omit the word "Brand" if it is exist in data and need result like this

abc

cde

fgh

ijk

any answer?

thanks

Lavi

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Hi,

 

Use this code

=Trim(replace(replace(YourColumn,'Brand',''),'brand',''))

 

Rgds

Anand

View solution in original post

4 Replies
its_anandrjs
Champion III
Champion III

Hi,

 

Use this code

=Trim(replace(replace(YourColumn,'Brand',''),'brand',''))

 

Rgds

Anand

its_anandrjs
Champion III
Champion III

Hi,

See the attached sample file

Rgds

Anand

Not applicable
Author

thanks Anand

its_anandrjs
Champion III
Champion III

Hi,

Thanks! You are welcome.

Rgds

Anand