title: Convert numbers in a string to array in visual basic
body: <p>I am inputing numbers separated by commas. I need to store these numbers in an array of double elements, ignoring any other character the user has input. But the problem is that <code>TextBox</code> indices and array indices are different, and also 2.4 is stored as each separate elements.</p>
  
  <p>For example, I have a string like this</p>
  
  <pre><code>"1,2.4,5.4,6,2"
  </code></pre>
  
  <p>How can I convert this to an array with elements</p>
  
  <pre><code>(1),(2.4),(5.4),(6),(2)
  </code></pre>