on 03-10-2008 10:02 AM
I need to use both CR and LF as end field separator at end of each line
i used Hex '0x0D' and '0x0A' combiantions it did not work
and also tired '0x0D0x0A' and other combinaitons also
My requiremet is to have CR+LF at end of each line
Points will be awarded
public static String newline = System.getProperty("line.separator");
StringBuffer buff = new StringBuffer();
buff.append(newline).append(Line1).append(newline).append(Line2)..
String result = buff.toString();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.