Helloo
This is sample to split this string as u want
<%
str = "0041792157777 GL01 TRUE 07/08/2004 19:43:51 " & _
"0041792897777 GL01 TRUE 07/08/2004 19:43:55 "
strArr = split(str," ")
str = ""
For i=0 To UBOUND(strArr)
str = str & " " & strArr(i)
if isDate(lTrim(rTrim(strArr(
str = str & "@"
End if
Next
strArr = Split(str,"@")
For i=0 To UBOUND(strArr)
Response.Write strArr(i) & "<BR>"
Next
%>
In this code formating of your string is very important. It should be exactly what u mentioned in your sample string.
hope it will help u out to solev ur problem..
neeraj523
Main Topics
Browse All Topics





by: SeanLWilliamsPosted on 2004-07-09 at 05:13:30ID: 11510804
you need to know what the delimiter is ie what seperates them
if it's the word [S P L I T] as above then
arrData = Split(strData,"[S P L I T]")
then access with
item = arrData(0)
item = arrData(1)
etc