Skip to Content
0
Former Member
Dec 14, 2006 at 01:57 PM

Split string at signal #

27 Views

Hello,

Is there a function module to convert a string into the tabel TLINE of the function module SAVE_TEXT?

Note that the layout of the user MUST be kept:

eg when test :

_______________________________________

- kdjsdfklqfklqsm

- fjkqmjfkqsdlmjfklmqfjk fdklm jfkm kql k qk

fjkqfkjdlqmf

- jkflmqj

_______________________________________

This text is put in a string where the sign '#' notes a new lines:

eg string of above would be:

"- kdjsdfklqfklqsm#- fjkqmjfkqsdlmjfklmqfjk fdklm jfkm kql k qk##fjkqfkjdlqmf#- jkflmqj"

Is there a way to split this string at sign '#' into various char fields in order to use function C14W_STRING_TO_TLINE (which convert char fields into the tabel TLINE)

thanks,

Maggie

fjkqfkjdlqmf

- jkflmqj