Excuse me if I am misunderstanding your question but you could simply limit
the field's length in its database definition to varchar(30).

Alternatively you could do a Left(query.columnname, 30).

> -----Original Message-----
> From: Alex [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 3 November 2000 12:45
> To: CF-Talk
> Subject: padding a variable
>
>
> how do you pad a variable in CF.
> for example how can I force a query.columnname to take up exactly 30
> characters?

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to