prg_string_order()
Abstract
Performs a case-sensitive comparison of two strings.
Syntax
prg_string_order (string1, string2)
| Argument | Type | Description |
|---|---|---|
string1 |
const char * |
First string to compare. |
string2 |
const char * |
Second string to compare. |
Return Type
int
Result of the string comparison:
-1 if string1 > string2
0 if string1 = string2
1 if string1 < string2
Header
prg_string_funcs.h