I am very new to Classic ASP and Visual Basic. I am having trouble doing a simple split. I have the following code:
Dim sFileName, startDate, fsObject, filObject, oArray, oSplit
oArray = Split(Replace(Request.Form("txtOutput"),vbCrLf, "|"),"|")
For Idx = 0 To Ubound(oArray)
oSplit = Split(oArray(Idx), ",")
response.Write(oSplit & "</br>")
Next
My txtOutput looks something like:
0342-John Doe,0,0,0,,
0134-Jane Doe,15,0,0,,
0343-John Smith,44.5,0,0,,
Am I doing something wrong?
oSplit is an array.. you were trying to write an array followed by
<br>