Reply to thread

Hi,

I have this match collection:

[code=vb]

Dim MC As MatchCollection = Regex.Matches(y, "x")

[/code]

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:)


Back
Top