> > Here's one option:
> >
> > <CFSET PadSpaces = RepeatString(" ",300)>
> > <CFSET MyVar = Left(MyVar & PadSpaces,300)>
> >
> >
> Or you could be a smart ass and do it in one line :
>
> <cfset MaxLen = 300>
> <cfset FilledVar = MyVar&RepeatString(" ",MaxLen-Len(MyVar))>
>
> ;o)
That's still 2 lines Stephen ;-)
------------------------------------------------------------------------------
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.