TStringList.SetText

procedure SetText(Text: PChar) Text: contents to be parsed

Description
SetText parses the contents of Text and fills the stringlist based on the contents. It regards Text as a series of strings, separated by end-of-line markers. Each of these strings is added to the stringlist.