B
bronskimac
I have a function to cope with " and ' in a form field. The quotes replace
works fine but the apostrophe one does not. this is driving me nuts.
function clean_text()
frm_title = Replace(frm_title,"'","''")
frm_title = Replace(frm_title,"""", """""")
end function
I know this topic keeps coming up, I have searched the vbscript newsgroups
and can not see where I am going wrong.
Bronski
works fine but the apostrophe one does not. this is driving me nuts.
function clean_text()
frm_title = Replace(frm_title,"'","''")
frm_title = Replace(frm_title,"""", """""")
end function
I know this topic keeps coming up, I have searched the vbscript newsgroups
and can not see where I am going wrong.
Bronski