title: how to get the total number parts in string split
body: <p>assume in a text box a user input a string like this:</p>
  
  <pre><code>part1,part2,part3,part4.........partn
  </code></pre>
  
  <p>how to get the total number of parts of that string</p>
  
  <p>I tried using</p>
  
  <pre><code>dim part() as string = textbox1.text.split(",")
  </code></pre>
  
  <p>but I do not know how to get the total number of parts </p>