Here's one option:

<CFSET PadSpaces = RepeatString(" ",300)>
<CFSET MyVar = Left(MyVar & PadSpaces,300)>


Chris Evans
[EMAIL PROTECTED]
http://www.fuseware.com



-----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.

Reply via email to