Hello Everyone,
First off I would like to thank anyone that helps me out with this problem that I have.
Ok, the environment I am working in is VB.net
I have a string that I am reading in from a file. There are “chunks” of data within the string that I want to keep and the rest of the data I could care less about. Here is a small example of the string:
xString = “434623[73899]256[346]37856[3634][367][8922] 45745[12954]35478”
The “chunks” that I am interested in are within the brackets “[###]”. What I would like to do is build an array something like this:
yString(0) = 73899
yString(1) = 346
yString(2) = 3634
yString(3) = 367
yString(4) = 8922
yString(4) = 12954
Anyone have a fast way of doing this? Examples?
Again; Thanks for all your help,
CroCrew~
First off I would like to thank anyone that helps me out with this problem that I have.
Ok, the environment I am working in is VB.net
I have a string that I am reading in from a file. There are “chunks” of data within the string that I want to keep and the rest of the data I could care less about. Here is a small example of the string:
xString = “434623[73899]256[346]37856[3634][367][8922] 45745[12954]35478”
The “chunks” that I am interested in are within the brackets “[###]”. What I would like to do is build an array something like this:
yString(0) = 73899
yString(1) = 346
yString(2) = 3634
yString(3) = 367
yString(4) = 8922
yString(4) = 12954
Anyone have a fast way of doing this? Examples?
Again; Thanks for all your help,
CroCrew~
Comment