views:

164

answers:

1

How do I split inline in classic asp? Something like this for getting domain:

domain=split("[email protected]").item(1)
+5  A: 

You need to specify the split character as second argument to the Split function:

domain = Split("[email protected]", "@")(1)
Darin Dimitrov