Script(s)

what I learn is what u c

ASP : VbScript – Escape Single and Double Quotes

with one comment

FUNCTION PreSubmit(p_sTargetString)
PreSubmit = REPLACE(p_sTargetString,”textarea”,”")
PreSubmit = REPLACE(PreSubmit,”%”,”%”)
PreSubmit = REPLACE(PreSubmit,”‘”,”’”)
PreSubmit = REPLACE(PreSubmit,”"”",”””)
PreSubmit = Trim(PreSubmit)
END FUNCTION

Written by gchandra

June 16, 2004 at 5:16 pm

Posted in Web Coding

One Response

Subscribe to comments with RSS.

  1. Thanks. It is working for me.

    Yoga Meditation Guru

    January 30, 2009 at 11:55 pm


Leave a Reply