um...I like Jim's suggestion better than mine. <grin>
-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 12:45 PM
To: CF-Talk
Subject: Re: padding string with blanks
> I need to pass a string to a bar-coding process and it must have a fixed
> length of 18, so if the string length is 10 I need to pad 8 blanks in
front
> of it. Ive been playing with the below code. I know it doesn't work but
its
> a start, what happens is the value of blanks get appended to the string
> rather than appending actual blanks. Any idea on how to get the blanks in
> there or a better method?
Use CF's RJustify() function. There's also a LJustify() and CJustify().
Jim
----------------------------------------------------------------------------
--
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.