LStrCmp (LabVIEW Manager Function)
- Updated2025-07-30
- 1 minute(s) read
LStrPtr LStrCmp(l1p, l2p);
Purpose
Lexically compares two LabVIEW strings to determine whether one is less than, equal to, or greater than the other. This comparison is case sensitive.
Parameters
| Name | Type | Description |
|---|---|---|
| l1p | LStrPtr | Pointer to a LabVIEW string. |
| l2p | LStrPtr | Pointer to a LabVIEW string. |
Return Value
<0, 0, or >0 if l1p is less than, equal to, or greater than l2p, respectively. Returns <0 if l1p is an initial substring of l2p.