Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Masking a variable 1

Status
Not open for further replies.

JohnandSwifty

Technical User
May 31, 2005
192
GB
Hi,

I have a description preview field that i want to populate with the first 12 characters of the variable it receives.

e.g. <cfoutput>#ProductDescription#</cfoutput>

as above it returns up to 255 characters... any ideas?

Thanks
 
#Left(ProductDescription, '12')#

That'll do it for you!

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top