Replace Character in a Request.form?
How can I replace a space(" ") with ("") within a Request.form statement?<BR><BR>here is my example:<BR><BR>Rec1 = Request.form("Rec1")<BR><BR>I'm really not sure how to replace the character. I also have 3 values in each var that get seperated using an array:<BR><BR>Rec1Array = split(Rec1, ",") <BR><BR>Where would the best place to set the replace be?<BR><BR>Thanks<BR><BR>Scott<BR><BR>
<BR>Rec1 = replace(Request.form("Rec1"), " ", "") *IF* you are sure this variable will not have any , in it except to seperate the controls. Otherwise you will have to loop through Rec1Array and do the replace then<BR><BR>
RE: have you tries the function replace<eop