From: MikeR on
2 questions about Replace.

I have the following code. If an SWCall contains a '-X' I want to delete the record
it's the key for. I need to remove the '-X' before I do the delete query.

response.write "<br>Pre " & Request.Form("TCID")(i) & " " & SWCall
Replace (SWCall,"-X","")
response.write "<br>Post " & Request.Form("TCID")(i) & " " & SWCall
response.end
ConnTemp.DeleteQSO Request.Form("TCID")(i), SWCall, SanCall

The Replace isn't...

Pre ZS ZS2EZ-X
Post ZS ZS2EZ-X

Cannot use parentheses when calling a Sub
/domain/Feb/changeact.asp, line 55, column 24
Replace (SWCall,"-X","")

All the examples I find use parens. If I remove the parens, the error goes away, but
still no removal of the '-X'
From: MikeR on
Ignore the previous post, please. The light came on.

Mike