Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Version 1

Status
Not open for further replies.

Claypole

Programmer
Aug 22, 2002
12
0
0
GB
Is there a way of finding what version of ASP you are using and what the latest version is. I'm trying to split
but i keep getting a type mismatch error.

dim tArray
strBuffer="100002","William Baxter School","01527 567567"
tArray = Split(strBuffer,",")

I expect to get the following results.
tArray(0)="100002"
tArray(1)="William Baxter School"
tArray(2)="01527 567567"
I will then Replace the " with a space.

 
Your strBuffer isn't a string above, try:
strBuffer="100002,William Baxter School,01527 567567"
or
strBuffer="'100002','William Baxter School','01527 567567'"

If your using these in SQL you will need to replace the single quotes in the second one with double single quotes.
-Tarwn ------------ My Little Dictionary ---------
Extreme Programming - (1)Trying to code before my second cup of coffee. (2) While(1){ Ctrl+C; Ctrl+V; }
FAQ - Web-ese for "Forget Asking Questions, I am to busy" :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top