//首先用StringReplace函数将字符串格式化成以回车分隔的字符串,
//然后将其放在TStringList里,
//再对TStringList每一行分别处理,就可以了
procedure TForm1.Button1Click(Sender: TObject);
var
l_Str : string;
l_lst_Str: TStringList;
begin
l_Str := '@昨天;今天;明天@早晨;上午;晚上@我;你;他@要去@上班;逛街;聚会@';
l_Str := StringReplace(l_Str, '@', #13#10, [rfReplaceAll]);
l_lst_Str := TStringList.Create;
try
l_lst_Str.Text := Trim(l_Str);
ComboBox1.Items.Text := StringReplace(l_lst_Str[0], ';', #13#10, [rfReplaceAll]);
ComboBox2.Items.Text := StringReplace(l_lst_Str[1], ';', #13#10, [rfReplaceAll]);
ComboBox3.Items.Text := StringReplace(l_lst_Str[2], ';', #13#10, [rfReplaceAll]);
ComboBox4.Items.Text := StringReplace(l_lst_Str[3], ';', #13#10, [rfReplaceAll]);
ComboBox5.Items.Text := StringReplace(l_lst_Str[4], ';', #13#10, [rfReplaceAll]);
finally
l_lst_Str.Free;
end;
end;