TStringList.Equals

Function Equals(Other: StringList): Boolean;
Example: S.CommaText := 'Green Eggs and Ham'; T.CommaText := 'GreenEggs and Ham'; if S.Equals(T) then Writeln('Same!) else Writeln('Different!');