extracting a string from a combobox text string - vb.net 2003
Posted on 2006-11-28
I have a combobox on a winform which has ITEMS of names displayed in the format of "surname, firstname". When a name is selected from the combobox, I'd like to display just the firstname in Textbox1.text.
Textbox1.text = "Hi " & string = "firstname (only)" from combobox1.text
It's important that the format of the combobox be kept intact. I've goofed around with code, but need a little help.