<cfoutput>
<cfif len(myTitle) gt 15>
#left(myTitle, 15)#...
<cfelse>
#myTitle#
</cfif>
</cfoutput>
-Joe
On 9/28/05, Stuart Kidd Saturday <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to do something which i can imagine is very simple but
> can't find the function. When i display a title
> <cfoutput>#myTitle#</cfoutput> i'd like to just display the first 15
> characters and if more then put three dots (periods). I know the LEN
> function but i can't work out how to replace the text with dots after
> the 15th character.
>
> Any help would be great,
>
> Thanks,
>
> Saturday
>
>
>
>
> Stu
>
>
>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219404
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54