[#boost-urls-grammar-ci_is_less] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::ci_is_less :relfileprefix: ../../../ :mrdocs: Return true if s0 is less than s1 using case‐insensitive comparison == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/ci_string.hpp#L239[boost/url/grammar/ci_string.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool ci_is_less( core::string_view s0, core::string_view s1) noexcept; ---- == Description The comparison algorithm implements a case‐insensitive total order on the set of all strings; however, it is not a lexicographical comparison. The function is defined only for strings containing low‐ASCII characters. == Example [,cpp] ---- assert( ! ci_is_less( "Boost", "boost" ) ); ---- == Return Value `true` if `s0` is case‐insensitively less than `s1`, otherwise `false` == Parameters [cols=2] |=== | Name | Description | *s0* | The first string | *s1* | The second string |=== == See Also xref:boost/urls/grammar/ci_compare.adoc[`ci_compare`], xref:boost/urls/grammar/ci_is_equal-0b2.adoc[`ci_is_equal`]. [.small]#Created with https://www.mrdocs.com[MrDocs]#