‎2007 May 21 8:31 AM
Dear All,
I would like to know how to insert a space in a string.
For eg: CONCATENATE pmtfle-text ' ' finaccno INTO PMTFLE-TEXT.
I want to insert a space in between pmtfle-text and finaccno. Even though I gave like above, it is not inserting a space.
Right answers will be rewarded.
Best Regards
Renjan
‎2007 May 21 8:33 AM
hi,
write CONCATENATE pmtfle-text finaccno INTO PMTFLE-TEXT separated by space.
<b>reward all helpful answers</b>
rgds,
bharat.
‎2007 May 21 8:33 AM
CONCATENATE pmtfle-text finaccno INTO PMTFLE-TEXT separated by space.
Message was edited by:
A. de Smidt
‎2007 May 21 8:33 AM
hi,
write CONCATENATE pmtfle-text finaccno INTO PMTFLE-TEXT separated by space.
<b>reward all helpful answers</b>
rgds,
bharat.
‎2007 May 21 8:36 AM
Hi Renjan,
Allow me to introduce you to the concept of a string literal which is not the same as a character literal. A string literal respects trailing spaces, which a char literal does not.
Try the same code you tried earlier, except enclose the spaces in <b>reverse-single quotes</b>, not the single quote character beside the "Enter" key, instead use the one just above the "Tab" Key...
Regards,
Dushyant Shetty
‎2007 May 21 8:36 AM
hi
you can concatenate two fileds as
Concatenate <field1> <field2 > INTO string seprated by space.
reward if useful
thanks
mohit