Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Identifying '##' in string entered in textEdit

Hi All,

I have a requirement to save text entered by the user in textEdit into an internal table.

The textedit uses '##' to identify a carriage return. However if I try using String operator CS to search for the '##' it fails to identify it.

Is the '##' stored internally as some other data type? I need to break the string entered by the user at '##' and store each such substring in a new line of the internal table.

Any pointers in this regard would be appreciated.

Regards,

Saurabh

replied

Hi,

You have to check on CL_ABAP_CHAR_UTILITIES=>CR_LF

Pls check also /people/eddy.declercq/blog/2005/11/29/careful-with-that-axe-eduard for splitting text into tables.

Eddy

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question