Hey - I'm looking for something similar to using vectors and pointers that I've used before in C++; unfortunately, it doesn't seem like there's an equivalent function in VB.net.
What I have is a copy of the array behind a multi-line Rich Text Box, and I need to separate the words from each line (or element of the array) so I can analyze each one separately.
In C++ I would do something like this, so I could continuously expand as needed:
char[] delim = {' '}; //Character that it splits the string at
//(of every occurence)
struct lines { // Vector
std::string[] words = Line1.Split(delim); //Array of strings that the
//line is split into.
pointer next; //pointer to the next line, or NULL.
Now, all that said, I don't know if this would actually work in C++, but that's the basic idea behind it:
a vector containing an array of strings, with as many iterations of the vector that I need.
Is there a function in VB.NET that would work in a similar way? I know I've still got arrays and vectors, but using I'm not sure about using vectors in the same way (with pointers).
Any help appreciated.