Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

how to find the index of the first unmatched parenthesis in a string

$
0
0
I want to find the zero-based index of the first unmatched parenthesis in a string. For example, if I have a string "(1*(2+3))))" it should return 9. How do I do this?

Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>