Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

ColdFusion ReplaceList()

10:08 pm on Mar 13, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 29, 2003
votes: 0

I would like to use the the ReplaceList function to replace certain characters with certain other characters, however. This is achieved, of course, by using two comma delimited quote-surrounded attributes. Unfortunately, one of the characters I'm trying to replace, is, indeed, a COMMA! I'm at a loss of what to do :( It will look something like this

#ReplaceList(query1.variable1, "?,!,,", "!,?,,", "all")#

help :(

1:49 pm on Mar 15, 2005 (gmt 0)

New User

10+ Year Member

joined:Aug 17, 2004
votes: 0

You need to use the REPLACE function instead.

#Replace(your_String, ",", "-", "All")#

this would replace commas with dashes.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members