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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trim?

Status
Not open for further replies.

boatguy

Programmer
Oct 22, 2001
153
US
I know this is so easy, but I don't remember how to do it and can't find an explanation. I want to display the first 15 characters of a given field. It seems to me I used the trim function, but don't remember how to do it.

ie. #dealershipname# Currently displays as Munson Marine of Squaw Creek and I need Munson Marine o.

Thanks

 
#Left(dealershipname, '15')#

Should do the job buddy, just stick it in your CFOUTPUT tags.

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top