uses System.SysUtils;
var
FontSize: Integer;
FontFamily, Style1: string;
begin
FontSize := 14;
FontFamily := 'Arial';
//Delphi 没有字符串插值,
//用 Format 即可满足需求
Style1 := Format(
'font-size: %d; font-family: "%s"',
[FontSize, FontFamily]);
//'font-size: 14; font-family: "Arial"'
WriteLn('style1 is ', Style1);
end.