BTW I wrote something very similar a while back you might like to look at:
Example: http://www.electricsheep.co.nz/toolbox/expandacronyms.cfm 
Download: http://www.electricsheep.co.nz/udfs/CFMXStringLib.cfm

Matt.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of William H Bowen
> Sent: Friday, 1 August 2003 10:03 a.m.
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] creating a cfc to format text
> 
> ah-haaa!
> 
> sometimes it just takes some outside perspective.
> 
> Thanks,
> 
> will
> 
> ----
> 
> William H Bowen
> Marketing Communications Manager
> ALSTOM EAI Corporation
> 
> 
> 
> Matt Liotta wrote:
> 
> > You could create a boolean for each product name that is set to true
> > the first time it is found. Then you only had the TM or R when the
> > boolean for the respective product is false.
> >
> > -Matt
> >
> > On Thursday, July 31, 2003, at 05:44 PM, William H Bowen wrote:
> >
> >> well, in the infinite wisdom of Senior MarComm managers I have been
> >> assigned the following tasks:
> >>
> >> "write code that automatically highlights (with bold/italic
> >> formatting) all of our product names"
> >>
> >> easy enough sez I, so I modified a UDF I found at cflib.org, no
> >> problems...
> >>
> >> now, sez they, "add an ™ or ® depending on product line."
> >>
> >> again, easy enough. Transfered it all to cfc on our external site,
> >> works like a charm.
> >>
> >> now here comes the tricky part...
> >>
> >> sez they, "bold/italic or bold by product line, ™ and ®
> >> only on the first instance of a product in body copy;
> >>
> >> so:
> >>
> >> <body copy start>
> >> 1st instance <b>e-terra</b><i>assetmanager</i>(tm)
> >> 2nd instance <b>e-terra</b><i>assetmanager</i>  --  no (tm)
> >> 1st instance <b>e-terra</b><i>marketmanager</i>(tm)
> >> 1st instance <b>BiTRONICS</b>(r)
> >> 2nd instance <b>BiTRONICS</b> -- no (r)
> >>
> >> and so on..."
> >>
> >> Is this possible? If so, how? do I need to check for the first
> >> instance of each productname?
> >>
> >> --
> >>
> >> will
> >>
> >> ----
> >>
> >> William H Bowen
> >> Marketing Communications Manager
> >> ALSTOM EAI Corporation
> >>
> >>
> >> ----------------------------------------------------------
> >> You are subscribed to cfcdev. To unsubscribe, send an email
> >> to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the
> >> message of the email.
> >>
> >> CFCDev is run by CFCZone (www.cfczone.org) and supported
> >> by Mindtool, Corporation (www.mindtool.com).
> >>
> >
> > ----------------------------------------------------------
> > You are subscribed to cfcdev. To unsubscribe, send an email
> > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the
> > message of the email.
> >
> > CFCDev is run by CFCZone (www.cfczone.org) and supported
> > by Mindtool, Corporation (www.mindtool.com).
> >
> 
> --
> 
> will
> 
> ----
> 
> William H Bowen
> Marketing Communications Manager
> ALSTOM EAI Corporation
> 
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to