Go to the source code of this file.
Functions | |
| int | string_equal (void *string1, void *string2) |
| int | string_compare (void *string1, void *string2) |
| int | string_nocase_equal (void *string1, void *string2) |
| int | string_nocase_compare (void *string1, void *string2) |
Comparison functions for strings.
To find the difference between two strings, use string_compare.
To find if two strings are equal, use string_equal.
For case insensitive versions, see string_nocase_compare and string_nocase_equal.
| int string_compare | ( | void * | string1, | |
| void * | string2 | |||
| ) |
Compare two strings.
| string1 | The first string. | |
| string2 | The second string. |
| int string_equal | ( | void * | string1, | |
| void * | string2 | |||
| ) |
Compare two strings to determine if they are equal.
| string1 | The first string. | |
| string2 | The second string. |
| int string_nocase_compare | ( | void * | string1, | |
| void * | string2 | |||
| ) |
Compare two strings, ignoring the case of letters.
| string1 | The first string. | |
| string2 | The second string. |
| int string_nocase_equal | ( | void * | string1, | |
| void * | string2 | |||
| ) |
Compare two strings to determine if they are equal, ignoring the case of letters.
| string1 | The first string. | |
| string2 | The second string. |
1.6.1