|
|
|
|
|
| | |
| |
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: tokenizing strings using VBScript in ASP |
|
From: |
sudhir y |
|
Date: |
3/25/2000 1:47:47 PM |
|
IP: |
202.54.89.41 |
hi ,
solution for ur question is u have to use split function.
test1,test2,test3-take the string into a variable
a=test1,test2,test3
b=split(a,",")--now b is an array
c=ubound(b)--upper bound(last element) of array
for n=0 to c
d=b(n)
select * from tablename where field="&d &"
next
use this code it will work
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|