Click to See Complete Forum and Search --> : Split function


October 21st, 1999, 08:39 AM
The documentation says the Split function is supposed to return a one dimensional array, but when I try to do this
Set MyArray = Split szTextString,",",10,vbTextCompare

I get a compile error saying that the array can't be set like this. HOw do I get the array.

I'm new at VB, I'm primarily a C++ programmer

Lothar Haensler
October 21st, 1999, 08:50 AM
dim myarray() as string
myarray = split( szTextstring, ",")