Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

Hi,

 

Use this code

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

 

Rgds

Anand

View solution in original post

4 Replies
its_anandrjs

Hi,

 

Use this code

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

 

Rgds

Anand

its_anandrjs

Hi,

See the attached sample file

Rgds

Anand

Not applicable
Author

thanks Anand

its_anandrjs

Hi,

Thanks! You are welcome.

Rgds

Anand