PStrCmp (LabVIEW Manager Function)

int32 PStrCmp(s1, s2);

Purpose

Lexically compares two Pascal strings to determine whether one is less than, equal to, or greater than the other. This comparison is case sensitive.

Parameters

Name Type Description
s1 PStr Pointer to a Pascal string.
s2 PStr Pointer to a Pascal string.

Return Value

<0, 0, or >0 if s1 is less than, equal to, or greater than s2, respectively. Returns <0 if s1 is an initial substring of s2.