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: 
micheledenardi
Specialist II
Specialist II

Remove comma between characters

Dear all,

i have some records like these:

abc,123,b3,"this is a comma,",abc,"this , is another comma",bye bye
abc,"12,3",b3,"this is a comma",abc,"this , is another, comma",bye bye

 and i would like to remove (or replace with another character) all commas  within double quotes (highlighted in yellow), and keep all other commas (outsite double quotes).

2020-11-30 16_50_56-New Question - Qlik Community.png

How to do this?

thanks

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
1 Solution

Accepted Solutions
marcus_sommer

This should be manageable with the msq-feature like:

LOAD * FROM PoorCommaSeapratedData.txt (txt, codepage is 1252, no labels, delimiter is ',', msq);

marcus_sommer_0-1606816789974.png


- Marcus

 

View solution in original post

2 Replies
Lauri
Specialist
Specialist

Try the TextBetween function.

marcus_sommer

This should be manageable with the msq-feature like:

LOAD * FROM PoorCommaSeapratedData.txt (txt, codepage is 1252, no labels, delimiter is ',', msq);

marcus_sommer_0-1606816789974.png


- Marcus