title: Splitting string and assigning split segments to variables
body: <p>I hjave the following text read from a txt file but would like to assingn each of the three numbers to induvidual variables how can i achive this?</p>
  
  <pre><code>(234.134, 105.087, 0.000000)
  </code></pre>
  
  <p>EDDIT:</p>
  
  <pre><code>    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      Dim str As String
      Dim XVAL As String
      Dim YVAL As String
      Dim ZVAL As String
  
      Dim strArr() As String
      Dim count As Integer
      str = "(0.123, 4.467, 8.910)"
      strArr = str.Split(", ")
      For count = 0 To strArr.Length - 3
          XVAL = (strArr(count))
      Next
      For count = 0 To strArr.Length - 2
          YVAL = (strArr(count))
      Next
      For count = 0 To strArr.Length - 1
          ZVAL = (strArr(count))
      Next
  
      Label1.Text = XVAL + ZVAL
      Label2.Text = YVAL
      Label3.Text = ZVAL
  
  End Sub
  </code></pre>
  
  <p>only now the product of XVAL and ZVAL is displayed as 0.123 8.910 and not 0.123 + 8.910 = 9.033</p>
  
  <p>the 9.033 which is what im after</p>