[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'LazStringUtils' (#lazutils)

SamePChar

Returns True if P1 and P2 have the same content.

Declaration

Source position: lazstringutils.pas line 106

function SamePChar(

  P1: PChar;

  P2: PChar

):Boolean;

Arguments

P1

  

Pointer to characters compared in the routine.

P2

  

Pointer to characters compared in the routine.

Function result

True when P1 and P2 have the same content, or are the same pointer.

Description

Returns False if either P1 or P2 are unassigned (contain Nil).


Version 4.0 Generated 2025-05-03 Home