Welcome to WebmasterWorld Guest from 54.159.12.17

Forum Moderators: phranque

Message Too Old, No Replies

ColdFusion ReplaceList()

     

fidibidabah

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

10+ Year Member



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 :(

thorlabs

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

10+ Year Member



You need to use the REPLACE function instead.

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

this would replace commas with dashes.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month