If you know there's always gonna be a full stop(period) then you could do...

    <cfoutput>
        <strong>#Replace(yourField, ".", ".</strong>", "one")#
    </cfoutput>

... or...

    <cfoutput>
        <strong>#ListFirst(yourField, ".")#</strong>ListRest(yourField,
".")#
    </cfoutput>

... haven't tested either but they look like they'll do the job.

Ade
  -----Original Message-----
  From: Brown, Alysia [mailto:[EMAIL PROTECTED]
  Sent: 23 August 2004 19:23
  To: CF-Newbie
  Subject: bolding part of an output field

  I need to have part of the output of one field come out bold.
  Specifically, the part up to the first period of the output.

  for example, cfoutput produces:

  Cold Fusion bulletin board systems are great. There are many of them on
  the internet. Use google to find them.

  I would want this to come out with the first sentence bolded:

  Cold Fusion bulletin board systems are great. There are many of them on
  the internet. Use google to find them.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to