Guest User

Untitled

a guest
Nov 15th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. private void comboBox4_SelectedIndexChanged(object sender, EventArgs e)
  2. {
  3. renameOld = comboBox4.Text;
  4. var names = renameOld.Split(new[] { ", " }, System.StringSplitOptions.RemoveEmptyEntries);
  5. foreach (string items in names)
  6. {
  7. Console.WriteLine(items);
  8. }
  9.  
  10. }
  11.  
  12. renameOld = "Johnson, James"
Add Comment
Please, Sign In to add comment