gooseriver
IS-IT--Management
How can I pass a value to a function using asp?
var1 = "John|Peoples"
Response.write newvar
Function Remove_Comma(var1)
newvar=var1
set rx=new regexp
with rx
.pattern="^/|/$"
.global=true
end with
newvar=rx.replace(newvar,"")
end Function
**I tried this but it did not work...
var1 = "John|Peoples"
Response.write newvar
Function Remove_Comma(var1)
newvar=var1
set rx=new regexp
with rx
.pattern="^/|/$"
.global=true
end with
newvar=rx.replace(newvar,"")
end Function
**I tried this but it did not work...