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!

changing contents of string using replace method

Status
Not open for further replies.

oops4me

Programmer
Jul 7, 2003
50
IN
hi,

i am taking checkbox values ,which are submitted from html to asp page.i am storing in one variable as follows

str1=request.form("chk1")

str1 contains values 'aaa','bbb','ccc'.i want to change to
aaa,bbb,ccc.can anybody tell me how to do it with the help of replace method.
 
str1 = replace(request.form("chk1"),"'","")

This replaces the ' with nothing

Hope it helps

Ken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top