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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] How i can remove a line break in a csv?

Hello community!
I'm trying remove a linea break in a csv file, but in my Map i can't do this with usual java code, i'm little newby in talenD world, can you help me please?
Thanks!
Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,
Or you can take a try for this solution: tFileInputFullRow-->tReplace.
Best regards
Sabrina

View solution in original post

7 Replies
willm1
Creator
Creator

Hi Vlopez... I don't know what you tried in Java, but here's something that would work in tMap:
row1.columnName.replaceAll("\\r\\n|\\r|\\n", " ")
See other options if this does not do it - http://stackoverflow.com/questions/2163045/how-to-remove-line-breaks-from-a-file-in-java
Anonymous
Not applicable
Author

Hi,
Or you can take a try for this solution: tFileInputFullRow-->tReplace.
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks guys, both for fast reply.
I try the solution offered by xdshi and this works.

Thanks so much!
Anonymous
Not applicable
Author

Hi,
Glad you could solve the issue. Could you please click the "Set this topic as resolved"? Feel free let me know if there is any further help we can give.
Best regards
Sabrina
Anonymous
Not applicable
Author

hi! i click this link but don't work 0683p000009M9p6.png, what i should do?
Anonymous
Not applicable
Author

Hi,
I have marked it as resolved. Thanks for your feedback.
Best regards
Sabrina
Anonymous
Not applicable
Author

I have this problem now, i have a string field with several information and line breaks, the possible solution does not work, does anyone know how to fix it? or how tFileInputFullRow works? help me