:relfileprefix: ../../../
[#BA81C12459B08646E23FCC315229F4B1945197C7]

= Function ci_compare

pass:v,q[Return the case-insensitive comparison of s0 and s1]


== Synopsis

Declared in header `</boost/url/grammar/ci_string.hpp#L120[boost/url/grammar/ci_string.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
int
ci_compare(
    string_view s0,
    string_view s1) noexcept;
----

== Description

pass:v,q[This returns the lexicographical comparison] pass:v,q[of two strings, ignoring case.]
pass:v,q[The function is defined only for strings]
pass:v,q[containing low-ASCII characters.]

=== Example
[,cpp]
----
assert( ci_compare( "boost", "Boost" ) == 0 );
----

=== Exception Safety
pass:v,q[Throws nothing.]



== Return Value

* `int` 


== Parameters

|===
| Name | Type 

| *s0*
| `string_view`

| *s1*
| `string_view`

|===



