This probably has a simple answer, but I must not have had enough coffee to figure it out on my own:
If I had a comma delimited string such as:
string li
string list = "Fred,Sam,Mike,Sarah"; string[] splitList = list.Split(','); for (int i = 0; i < splitList.Length; i++) splitList[i] = String.Format("'{0}'", splitList[i]); string newList = String.Join(",", splitList);