title: C# string.Split() not working
body: <p>I wrote this code to look through each parameter in a string.
  The string looks like this: "render::rectangle(0, 0, 200, 200, Red, 2)"
  This is my code:</p>
  
  <pre><code>if (line.StartsWith("render::rectangle(")) {
      foreach(string parameterItem in line.Split('(', ')')) {
          string parameterIt = parameterItem;
          int posX = 0;
          int posY = 0;
          int width;
          int height;
          string colour = "White";
          int borderThickness = 0;
          int paramNum = 0;
          foreach(string parameter in parameterItem.Split(',')) {
              paramNum++;
              string param = parameter;
          }
      }
   }
  </code></pre>
  
  <p>This returns "render::rectangle", why is the Split() not working for this string? Please help.</p>