Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hello all... Whould anyone

Status
Not open for further replies.

JrClown

Technical User
Oct 18, 2000
393
US
hello all...
Whould anyone know the best was to make tick marks work ( ' ) using VBScript ???
I have a comments field on my site, but when someone types
I'm going to Florida.
I get an error.

ONLY I am going to Florida works.

Please help.... Thanks QUOTE OF THE DAY
Don't waste time telling people what you are doing or what you are going to do. Results have a way of informing the world.

<%
Jr Clown :eek:)
%>
 
You should be able to use
escape() to convert the string to an escaped string.

escape(&quot;I'm going to Florida&quot;) returns
I%27m%20going%20to%20Florida

Use unescape to turn it back into a human readable string.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top