on 04-24-2008 12:48 PM
Hi All,
What is CR LF. (carriage return and line feed) .
Can any body tell me..
Hi subahani,
1. CR and LF are ascii characters, just like
A,B... etc. However, they are normally NOT displayed
rather interpreted for display purpose.
2. CR = Carriage return
LF = Line Feed
It is similar to an ENTER in a note pad file.
3. Suppose a notepad file has :
AMIT
then its size will be 4 bytes only.
4. However, we press enter and write like this
AMIT
MITTAL
then the size will be 4 + 2+ 6 = 12 bytes.
Here the 2 bytes are for CR and LF ie. ENTER.
regards,
amit m.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi amit,
Here my input is :001 256 this is good 7869
Actually my output should be like this :
001 256 this is good 7869
Here 'this is good' is the text field data.
But is getting the output is:
001 256 this is good^M
7869
so i want to bring the full data in single line.
Just please tell me the procedure
Erased as Dup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CRLF is just that, in a text file it forces the line to return to the beginning of that line, then drop down one line before starting the next line.
In ABAP, you can define it as
CONSTANTS:
c_CRLF(2) TYPE x VALUE '3338'.
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 |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.