@ptt-bds Bác có 10 luồng thì đầu tiên nếu không có gì xảy ra nó sẽ lấy 10 dòng đầu tiên, sau đó thì cứ luồng nào "ra đi" nó sẽ lấy dòng tiếp theo, đâu có theo quy luật như 1,11,21,31 vs luồng 1 như bác nói đâu.
Saved text to file skips breaklines
-
Hey
I tried to copy text from 2 SOURCES in this format:
word 1
word 2
word 3and save it to text file.
And output was always like this:
word1word2word3How can I keep breaklines?
-
You can add break lines by adding "\r\n" in the expression.
Here is the screenshot:
https://prnt.sc/bym8jnBasically you should have something like: "Your string" + "\r\n"
-
but I pasted variable that contains:
word1
word2
word3if I used your modification, it would be
wordword2word3 BREAKLINEAnyway thanks, I have done it already with lists.

so variable:
word1
word2
word3is saved as:
word1word2word3then I read it from file as list and save to file as list, and its:
word1
word2
word3