It's me again. I thought that I had solved my problem but I didn't. This is how the function looks.
Function Seperate(Field)
Field = Cstr(Field)
RSpace = InStr(Field, " ")
Field = Left(Field, RSpace - 1)
Seperate = Field
End Function
It gives me an error saying:
Invalid...
I need to know how to pull strings apart using asp. I come from a Visual Basic background but when I use the Visual Basic way, I get an error. Here is the script I am using:
Function Seperate(Field)
Field = Cstr(Field)
WhereSpace = InStr(Field, " ")
Field = Left(Field, WhereSpace...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.