[thelist] ASP Question - Parsing a string
Anthony Baratta
Anthony at Baratta.com
Wed Mar 27 12:43:01 CST 2002
At 10:36 AM 3/27/2002, David at softv.net wrote:
>a quick an' dirty way:
Just a side note: Wouldn't it be better to redim only once??
e.g.
Dim string
Dim arrChars
Dim strChar
string = "1234567"
reDim = arrChars(Len(string))
For i = 0 To Len(string)-1
strChar = Mid(string, i+1, 1)
arrChar(i) = strChar
Next
Or something like that.
---
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
More information about the thelist
mailing list