c# - Is there a function that returns index where RegEx match starts? -


I have a string of 15 characters long, I'm matching regular patterns with some expression on it. I want to know the situation where IsMatch () function return is correct.

Question: Is there a function that returns the index

For multiple matches, you can use a code like this:

  Reggaex Rx = new Reggae (" as "); Matching matches in Rx ("as in" as ")). {Int i = match.Index;}  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -