on 08-11-2008 1:18 PM
hi all,
I have one text view in my page with 255 characters length.
in this textview the user enters the data by pressing enter.
and the data in my ztable gets stored with ## where ever the enter pressed.
now i want to remove all ## from that string...how ?
Hi,
check the class CL_ABAP_CHAR_UTILITIES, it deals with special characters like newline, carriage_return, backspace etc.
Try the following code to replace the CR_LF in your string with something else:
REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>cr_lf
IN l_string WITH 'something else'.
Regards,
CW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.