title: convert a string to a nested tcl list
body: <p>See the code below:</p>
  
  <pre><code>&gt; foreach a {k l { jo k } {jo i } k } { puts $a}
  k
  l
  jo k
  jo i
  k
  </code></pre>
  
  <p>The question is, what happens if I get a string which has a string representation of the list:</p>
  
  <pre><code>&gt; foreach a "{k l { jo k } {jo i } k }" { puts $a}
  k l { jo k } {jo i } k
  </code></pre>
  
  <p>How can I convert the string <code>"{k l { jo k } {jo i } k }"</code> to a list which is identical to: <code>{k l { jo k } {jo i } k }</code><br>Using subst and eval, but that did not work.<br>Thanks.</p>