Skip to Content
Former Member
Dec 01, 2008 at 09:51 AM

add space in a string


Hi experts,

I have this problem: I split a string in a table, because I need to analyze each word in (I'm programmin a parser) and I want to write the word one by one, but I cannot find a way to write a space between them: the write is in a cycle:

LOOP AT word_table INTO word_wa.
   CONCATENATE word_wa space INTO word_wa SEPARATED BY space.
   WRITE word_wa.

but it seems ignoring my instructions ...

So how can I add a space between the words?

Thanks in advance.