My cheesy solution to this type of problem has always been
cfset result = right((' ' & fulltrackno), 18)
-----Original Message-----
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 1:41 PM
To: CF-Talk
Subject: 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
------------------------------------------------------------------------------
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.