string str = "first;second"; string[] array = str.Split(';'); char separator = checkedComboBoxEdit1.Properties.SeparatorChar; string result = string.Empty; foreach (var element in array){ result += element + separator; } checkedComboBoxEdit1.SetEditValue(result);
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter