What I ended up doing was make a list of 0's with as the maximum number of
zeros you will need then put them together with the variable or text you are
inserting and use right or left and how many characters you need. That was
the only way I could get it to work for me.
Robert Everland III
Web Developer
Dixon Ticonderoga
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 10:19 AM
To: [EMAIL PROTECTED]
Subject: Function for padding strings???
Hello all,
This might sound like a very stupid question, I need
to pad a string with spaces, so that i can pass the value to
a DB2 AS/400 Stored procedure.
The SP has to get in format with no "," or any chars.
Its kinda like a List with no special chars but the width of
the list should be 300 and each part should be 15 chars long..
picky DB2/RPG SP.
Ljustify is not working!!!
Is there a fuction to pad strings??
Appretiate any comments
thanks
Joe
-----
Sent using MailStart.com ( http://MailStart.Com/welcome.html )
The FREE way to access your mailbox via any web browser, anywhere!
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.