title: Parsing a string in C#; is there a cleaner way?
body: <p>C#, .NET 3.5</p>
  
  <p>This just smells of ugly to me, but I can't think of another way. </p>
  
  <p>Given a string with the format of "Joe Smith (jsmith)" (sans quotes), I'd like to parse out just the 'jsmith' string within the parenthesis. I've come up with this:</p>
  
  <pre><code>private static string DecipherUserName( string user )
  {
      if( !user.Contains( "(" ) )
          return user;
  
      int start = user.IndexOf( "(" );
  
      return user.Substring( start ).Replace( "(", string.Empty ).Replace( ")", string.Empty );
  }
  </code></pre>
  
  <p>Other than my (un)healthy aversion to RegEx, is there a simpler way to parse out the substring?</p>
  
  <p><strong>Edit:</strong>
  To clarify, the string to parse will always be of: "Joe Smith (jsmith)" (sans quotes).</p>