Hello,
I need lots of help!!! So the user inputs an email address in a textbox which I then, interpret this email address into a LastN[email protected]. So I'm supposed to display the users Last Name, First Name in a listbox. Can someone help me PLEASE?
Jan MontanoPosted Oct 17, 2007, 9:42 PM
string firstname = txtEmailAddress.Text.Substring(txtEmailAddress.Text.IndexOf(".") + 1, txtEmailAddress.Text.IndexOf('@') - lastname.Length - 1);
listBox1.Items.Add(lastname + ", " + firstname);