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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
cheburashka
Creator III
Creator III

How to purge the ' character from the values of a field?

Hello,

How can I purge the ' character from the values of a field?

I tried

purgechar(''')

and

purgechar(chr(13))

and

purgechar('chr(13)')

Any other ideas?

,Kr Koen

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Try this ways use chr(39)

LOAD *,PurgeChar(StringChar,chr(39)) as AftPurge;

LOAD * Inline [

StringChar

sdadad'dasda

sa'dfsd

uouo'gggggg ];

Regards,

Anand

View solution in original post

4 Replies
cheburashka
Creator III
Creator III
Author

I'm loading from an excel so I dont have the quoting option.

Capture.PNG

its_anandrjs
Champion III
Champion III

What difficulty you are facing.

Regards

Anand

its_anandrjs
Champion III
Champion III

Try this ways use chr(39)

LOAD *,PurgeChar(StringChar,chr(39)) as AftPurge;

LOAD * Inline [

StringChar

sdadad'dasda

sa'dfsd

uouo'gggggg ];

Regards,

Anand

cheburashka
Creator III
Creator III
Author

Messed up the chr number somewhere