I wish to concatenate a few strings into a string using RPG/400.
Some of the strings have ended with blanks. Can anyone suggest me a way as i fail to do it with CAT.
The strings line are:
'FB'
'/'
'ASPAC '
'/'
'ADHI '
'/'
'2008'
'/'
'0001'
I hope to join it becomes FB/ASPAC/ADHI/2008/0001 without any empty space in between.
Thank you.
Some of the strings have ended with blanks. Can anyone suggest me a way as i fail to do it with CAT.
The strings line are:
'FB'
'/'
'ASPAC '
'/'
'ADHI '
'/'
'2008'
'/'
'0001'
I hope to join it becomes FB/ASPAC/ADHI/2008/0001 without any empty space in between.
Thank you.
Comment