List<string> namelist = new List<string>();

string[] namejh = null;

string name= "张三+李四+王五";

第一步:将三个名字分离出来

namejh = name.Split("+".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);

namelist = new List<string>(namejh);

05-07 15:16