AnsiStrComp
Riddle
AnsiStrComp
Moduł: SysUtils
program Foo;
uses
SysUtils;
{$APPTYPE CONSOLE}
var
S1, S2: String;
begin
S1 := '4programmers';
S2 := '4programmers.net'
Writeln(AnsiStrComp(PChar(S1), PChar(S2))); // Zobaczymy -1
end.
Zobacz też: