I am using C# and trying to retrieve a number from a value in a comboBox that contains both numbers and text. I am modifying what is in the comboBox using the following format which is working fine ("130mm Corus-Comflor 46" is a value already
loaded into the comboBox):
.floorComboBox.Text = "130mm Corus-Comflor 46"
This line of code is changing what is in the comboBox and from what is written in the combo box, I would like to be able to retrieve just the first number '130' from the newly updated comboBox so that I can use it elsewhere.
I am not sure how to go about this and I have looked online for something similar, but with no luck.
View Complete Post