help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

AnsiStrLComp

Compare a limited number of characters of 2 strings

Declaration

Source position: sysstrh.inc line 88

function AnsiStrLComp(

  S1: PChar;

  S2: PChar;

  MaxLen: cardinal

):Integer;

Description

AnsiStrLComp functions the same as AnsiStrComp, but compares at most MaxLen characters, if this is less than one of the lengths of the passed strings. If the first MaxLen characters in both strings are the same, then zero is returned.

Errors

None.

See also

AnsiStrComp

  

Compare two null-terminated strings. Case sensitive.

AnsiStrIComp

  

Compare two null-terminated strings. Case insensitive.

AnsiStrLIComp

  

Compares a given number of characters of a string, case insensitive.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505