Is there VB equivalent for the ASCAN foxpro function?
I've searched this site and all I found to search an array
is by going through the elements from the 0 to ubound.
Printable View
Is there VB equivalent for the ASCAN foxpro function?
I've searched this site and all I found to search an array
is by going through the elements from the 0 to ubound.
Well you have to scan from the lower bound (usually 0) up to the upper bound.
You either do that, or use the Join() function to convert the array into a single string with a delimiter, do your changes, and then use Split() on the delimiter to put it back into an array.
But the first approach is the only proper way of doing it.