Skip to main content
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