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
Post a Comment