Skip to Content
0
Former Member
Mar 23, 2009 at 02:41 PM

To achieve a fixed length string containing spaces at the end.

1366 Views

Hi Gurus!!

My Requirement is to get a target string of fixed length (1464 characters).

If source string is containing <1464 characters, then i need to put spaces for the left out characters in the target string.

How do i meet this requirement?

Concatenate does not seems to be helping out. as it is ignoring all the spaces.

e.g string1 = '1234567890' -- 10 characters. ( source)

string2 = ' ' - 10 char

my Resulting string( target string) should be like - '1234567890 ' ---> 20 characters

Please help in this regard!!

Regards,

Gaurav Verma