on ‎2004 Oct 29 8:06 AM
I created a Content Management System for a client. This way they can dynamically change webtext for clients. The only problem is that the text is stored in 255 length field (longer is not possible in the database). If the last character is a space character then only 254 characters are stored. The next time you retrieve the all lines the last word of the line and the first word of the next line are concatenated without space.
I tried replace all occurrences of ' ' in string with ' '. But then I got a short dump! Trying to catch the last character checking if it is a space also doesn't work.
Does anybody has a solution.
Request clarification before answering.
Just used
while sy-subrc eq 0.
replace space with ' ' into input_string.
endwhile.
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 |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.