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: 
Anonymous
Not applicable

concatenate Pharmacy names ,space creating problem

hi gurus,

i have pharmacy name:

Caremark P.R. Specialty Pharmacy

Caremark P.R. Specialty  Pharmacy

i want to concatenate into single name,but there is space difference between two pharmacy names

plz find the sample application

11 Replies
fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try this:

Replace(PurgeChar(Name,'-'),'  ',' ')

jagan
Luminary Alumni
Luminary Alumni

Hi,

For this type of scenarios you have to maintain a mapping file like below

PharmacyName, PharmacyNameGroup

TOPS - Texas Oncology Pharmacy Services, TOPS - Texas Oncology Pharmacy Services

TOPS Texas Oncology Pharmacy Services, TOPS - Texas Oncology Pharmacy Services

Caremark P.R. Specialty Pharmacy, Caremark P.R. Specialty Pharmacy

Caremark P.R. Specialty  Pharmacy,Caremark P.R. Specialty Pharmacy


Now you can use PharmacyNameGroup in the list box.  Otherwise it is very difficult to handle.


Regards,

Jagan.