Guest_imported
New member
- Jan 1, 1970
- 0
I'm trying to filter some output, to convert these following characters into their numberic values.. please ignore the spaces here after the & symbols.. had to do that to get it to display correctly in this forum..
& #34; = "
& #39; = '
& amp; = &
& #40; = (
& #41; = )
& #91; = [
& #93; = ]
& #42; = *
& #47; = /
& #92; = & #43; = +
& #61; = =
& #63; = ?
& #37; = %
& #64; = @
& #35; = #
& #33; = !
& #44; = ,
& #46; = .
& #45; = -
Can someone help me modify the following line of code (which does something similar) to do this please? Hope you don't think I'm being lazy, its just not my day!
<cfset variables.Artist = rereplacenocase(rereplacenocase(top1.Artist, chr(34), chr(92) & chr(34), 'ALL'), "'", "\'", 'ALL')>
Looking forward to your repsonse. Thanks.
& #34; = "
& #39; = '
& amp; = &
& #40; = (
& #41; = )
& #91; = [
& #93; = ]
& #42; = *
& #47; = /
& #92; = & #43; = +
& #61; = =
& #63; = ?
& #37; = %
& #64; = @
& #35; = #
& #33; = !
& #44; = ,
& #46; = .
& #45; = -
Can someone help me modify the following line of code (which does something similar) to do this please? Hope you don't think I'm being lazy, its just not my day!
<cfset variables.Artist = rereplacenocase(rereplacenocase(top1.Artist, chr(34), chr(92) & chr(34), 'ALL'), "'", "\'", 'ALL')>
Looking forward to your repsonse. Thanks.