[Delphi] TStringStream을 TStringList에 담기



var
  StringStream: TStringStream;
  StringList: TStringList;
begin

  StringList:= TStringList.Create;
  StringStream := TStringStream.Create('');
  StringStream.Position := 0; // Reset to the beginning of the stream

  IdHTTP.Get('주소', StringStream);
  StringList.Text := StringStream.DataString;

end;