StrCmp (LabVIEW Manager Function)
- Aktualisiert2025-07-30
- 1 Minute(n) Lesezeit
int32 StrCmp(s1, s2);
Purpose
Lexically compares two strings to determine whether one is less than, equal to, or greater than the other.
Parameters
| Name | Type | Description |
|---|---|---|
| s1 | CStr | Pointer to a C string. |
| s2 | CStr | Pointer to a C 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.