you will need to find a particular word within the string. The function that will do this for you is InStr. This function requires the string itself and the text to be located. In this case it is the @ which is unique in the textstring. In your case it can be something like this;
strText = "TheTextFromTheFieldInYourForm"
ToCount = InStr (strText,"@")
This together with some for/next stuff!!!
Or the best of all; read the f..... manual, "Beginning Active Server Pages 3.0" on page 157.
On the other hand, I am not sure how to count the number of, that is what you are asking about.....
|