title: Convert string to tuple, hash, or array
body: <p>I have a string:</p>
  
  <pre><code>"(\"Doe, John\",12345)"
  </code></pre>
  
  <p>I want to convert this string into a tuple <code>("Doe, John",12345)</code>, a hash <code>{"Doe, John" =&gt; 12345}</code>, or an array <code>["Doe, John",12345]</code>.</p>
  
  <p>I'm not sure how to split it into 2 elements <code>"Doe, John"</code> and <code>12345</code>. I'd like to avoid using <code>regex</code>. I cannot use <code>split</code> because then I get <code>["(\"Doe", "John", "12345)"]</code>.</p>