How do I extract a string of text that lies between two (brackets) using .NET?
- by Ben H
I have a string "User name (sales)" and I want to extract the text between the brackets, how would I do this? I suspect substring but I can't work out how to read until the closing bracket, the length of text will vary.