Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove CR LF in LOAD statement

Hi, i have a field in a LOAD statement which sometimes ends with a CR LF character, how can i remove it in the LOAD statement?

1 Solution

Accepted Solutions
MarcoWedel

Purgechar(Field, chr(10)&chr(13)) as Field

View solution in original post

3 Replies
Gysbert_Wassenaar

LOAD

     FieldA,

     FieldB,

     replace(replace(FieldC, chr(13), ''),chr(10),'') as FieldC,

     ...etc

FROM ...


talk is cheap, supply exceeds demand
MarcoWedel

Purgechar(Field, chr(10)&chr(13)) as Field

Not applicable
Author

both are correct, btw i had to use chr 194 and 160, i dunno what combination is