Hi,
I have this match collection:
Now I want to split the match collection to an string array!
I know I can use MC.CopyTo(MyArray, ?)
But the question mark is that I dont know where is the last used index so I can start from next one?
How can I do this?
Thanks
I have this match collection:
Code:
Dim MC As MatchCollection = Regex.Matches(y, "x")
I know I can use MC.CopyTo(MyArray, ?)
But the question mark is that I dont know where is the last used index so I can start from next one?
How can I do this?
Thanks

Last edited by a moderator: