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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quotes in a string

Status
Not open for further replies.

ssw

Programmer
Nov 19, 2003
3
GB
i have a string say "kim'ash" how can i pass it in a
querystring ' marks end of file.
 
URLencode() should help you

_____________________________________________________________________
onpnt2.gif
[sub]
Hakuna matata!!
[/sub]
 
Try Replace() before passing the string.

Replace(stringName, "'", "''")

VJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top