D
doar123
I'm operating a large web site, and I'm using a function replacing
double qoutes with & quot; in order to present text into a TEXTBOX.
From some unknown reason, the function does not work anymore.
Here it is:
function rQuote(zofim_rs)
if not IsNull(zofim_rs) and len(zofim_rs)>0 then
TempStr = zofim_rs
TempStr = Replace(TempStr, """", """,1,-1,1)
TempStr = Replace(TempStr, "'", "’",1,-1,1)
rQuote = TempStr
else rQuote = ""
end if
end function
does someone know what could be the reason that the function does not
work anymore ?
thanks,
Ilay
double qoutes with & quot; in order to present text into a TEXTBOX.
From some unknown reason, the function does not work anymore.
Here it is:
function rQuote(zofim_rs)
if not IsNull(zofim_rs) and len(zofim_rs)>0 then
TempStr = zofim_rs
TempStr = Replace(TempStr, """", """,1,-1,1)
TempStr = Replace(TempStr, "'", "’",1,-1,1)
rQuote = TempStr
else rQuote = ""
end if
end function
does someone know what could be the reason that the function does not
work anymore ?
thanks,
Ilay