Phantasmal Site > Phantasmal API > API Listing > stricmp
API Function: stricmp
- Summary:
- compare two strings without regard to case
- Defined In LPC Object:
- /usr/common/sys/stringd.c
- Prototype:
- int stricmp(string s1, string s2)
- Can Be Called By:
- Anybody
- Description:
-
Returns 1 if s1 is later in alphabetical order than s2. Returns
-1 if s2 is later than s1. Returns 0 if the two are equal.
All comparisons are done treating upper- and lowercase letters
as identical.
- Return Value:
-
1, 0, or -1. See Description.
- Errors:
- Normally none.
- See Also:
- strcmp
|