Nick posted a straightforward answer with a substring, but if you want something that can string match a lot more complex stuff, look no further than Regex
. I suggest you look into how you'd use it in your own time if you aren't familiar, but here's an implementation for your code.
You need to state that you want to include Regex by typing using System.Text.RegularExpressions;
at the top of your file.
string test = "Hello(30)";
string match = Regex.Match(test, @"[^(]*").ToString();
//[^(]* == Exclude all after point in search.
//match == "Hello"
Regex can be a mess to read but there's lots of documentation out there if you need to learn more. Just do a search for it online and you'll find what you're looking for.
Refer to this stack overflow comment for the implementation I used.