Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

CF8 string replacement of \ with ' generates errors ?

$
0
0

Hello,

 

I have been banging my head on this CF8 issue for too long now.   I have a string that

is of the form [~]'trespes[~] where I need to replace [~] with the escaped backslash

\   I have tried coldfusion replace, and java ReplaceAll but whenever I put any

escaped html into the fuction, replace(string,"[~]","\") I get an error from CF

 

Missing argument name. When using named parameters to a function,

every parameter must have a name.

 

If I use java ReplaceALL I get the same result.  Any insight to this problem would

be greatly appreciated, driving me batty..   I know it must be simple..  ugh.

 

Thanks,

Bob


Viewing all articles
Browse latest Browse all 21760

Trending Articles