Skip to Content
0
Former Member
Sep 28, 2010 at 05:02 AM

Concatenate Statement

19 Views

Hi,

I am working on concatenate operator.

  Data :  E(6) VALUE '140169',
             F(2) VALUE '  ',
             G(8) VALUE '11092010'.

  DATA : STRING TYPE STRING,
              SEP VALUE '/'.

CONCATENATE E F G INTO STRING SEPERATED BY SEP.

WRITE STRING. 

here, i want the output as 140169/ /11092010

but i am getting 140169//11092010

i am unable to get the gap in between the seperator as F is not having any value.. i want space over there.. how to get it?

any body have idea? please help me.

Regards

Priya

Edited by: Priyakarthik on Sep 28, 2010 7:02 AM