Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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

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

What difficulty you are facing.

Regards

Anand

its_anandrjs

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