Summation of textbox!
Posted on 2006-10-19
VB .Net windows project.
I have a textbox399 from where I wan't to make a summation of the digits in the box.
The text in the textbox could look like this: "2-2-3-1" (The result should be: "8")
Trying to sum the digits I have made a replace but what then?
Dim Antal As Integer = Replace(TextBox399.Text, "-", "+")