[thelist] Asp Split

Rob Smith rob.smith at lexjet.com
Tue May 23 08:06:46 CDT 2006


I found this that did the trick:

function StringToArray(str_or_int)
    Dim l, arr, i
    l = len(str_or_int)
    redim arr(l-1)
    For i = 0 To l-1
	    arr(i) = mid(str_or_int,i+1,1)
    next
    StringToArray = arr
End function

Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile(Server.MapPath("export.po"), 1)
myarray = StringToArray(f.ReadLine)


Thanks,

Rob Smith
LexJet
rob.smith at lexjet.com
http://www.lexjet.com
(800)453-9538
(941)330-1210 Int'l
(941)330-1220 Fax
1680 Fruitville Road, 3rd Floor
Sarasota, FL 34236




More information about the thelist mailing list