The example they give seems pretty straightforward, pass the two strings you're interested in to this procedure and 'result' will be 0 if they match and something else if they don't (in this case Tform1 is just an example class that uses CompareStrings as a method):
procedure TForm1.CompareStrings(const string1, string2: string);
result : Integer;
//uncomment if case-sensitive:
result := AnsiCompareStr(string1, string2);
//uncomment to ignore case:
// result := AnsiCompareText(string1, string2);
Well it won't, until you edit it in. Have you tried compiling it 'as-is' to make sure you have all your unit-code in-place (your build environment is valid) and it will actually re-compile?
...and no it doesnt have any script like that...
In any event, if no actual Delphi programmers respond to this post and you need more in-depth explanations, you might try a more delphi-specific board such as these: