<pclass="level0">The <spanClass="bold">curl_strequal()</span> function compares the two strings <spanClass="emphasis">str1</span> and <spanClass="emphasis">str2</span>, ignoring the case of the characters. It returns a non-zero (TRUE) integer if the strings are identical.
<pclass="level0">The <spanClass="bold">curl_strnequal()</span> function is similar, except it only compares the first <spanClass="emphasis">len</span> characters of <spanClass="emphasis">str1</span>.
<pclass="level0">These functions are provided by libcurl to enable applications to compare strings in a truly portable manner. There are no standard portable case insensitive string comparison functions. These two works on all platforms. <aname="AVAILABILITY"></a><h2class="nroffsh">AVAILABILITY</h2>
<pclass="level0">These functions will be removed from the public libcurl API in a near future. They will instead be made "available" by source code access only, and then as curlx_strequal() and curlx_strenqual(). <aname="RETURN"></a><h2class="nroffsh">RETURN VALUE</h2>
<pclass="level0">Non-zero if the strings are identical. Zero if they're not. <aname="SEE"></a><h2class="nroffsh">SEE ALSO</h2>