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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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
Partner - Champion III
Partner - Champion III

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