Thanks, David - that was it! Took out the spaces and everything replaced
as stipulated. Now - off to try the valuelist thing.
Thanks again for your question response,
Erika
----- Original Message -----
From: "David Cummins" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, February 11, 2001 8:41 PM
Subject: Re: Replace List Help - SORRY
: Okay - sounds strange... have you tried removing the space after the
commas in
: the list (remember the space will become part of the string to match).
:
: As far as building them dynamically, try using the valuelist function -
once for
: the things to replace, once for the replacements.
:
: David
:
: Erika Foster wrote:
: >
: > Sorry about that last message - kids playing with the keyboard.
: >
: > Can someone tell me why this doesn't work?
: >
: > #ReplaceList(ParagraphFormat(message), ":-), :'(", "<img
: > src=images/smiley.gif>, <img src=images/sad.gif>")#
: >
: > It works for the first replacement, but not for subsequent replacements
in
: > the list. Also - I have the text and the images to replace the texts in
a
: > DB table. I'd like to be able to build this ReplaceList function
: > dynamically. Any suggestions?
: >
: > Thanks!
: >
: > Erika Foster
: > engineering-environmental Management
: > Applications Developer
: > (505) 866-1654
: > [EMAIL PROTECTED]
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists