Home > Electronics Tutorials > C Language Tutorial > string.h - strcoll

C Language Programming Library Reference Guide

string.h - strcoll

Declaration: int strcoll(const char *str1, const char *str2); Compares string str1 to str2. The result is dependent on the LC_COLLATE setting of the location.

Returns zero if str1 and str2 are equal. Returns less than zero or greater than zero if str1 is less than or greater than str2 respectively.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......