Question

Standard Charted
IN
Last activity: 17 Feb 2021 10:12 EST
How to give new line character in String while writing it to .txt file
For example if we are having below input:
123,456
897,678
After processing we determine result and append it like below
123,456,result
897,678,result
While writing result to .txt file we are getting content in file as below
123,456,result897,678,result
instead we need as
123,456,result
897,678,result