[#BloombergLP-bdlb-StringViewUtil-upperCaseCmp]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/StringViewUtil.adoc[StringViewUtil]::upperCaseCmp
:relfileprefix: ../../../
:mrdocs:

Compare (the referent data of) the specified `lhs` and `rhs`&period; Return 1 if, after a conversion to upper case, `lhs` is greater than `rhs`, 0 if `lhs` and `rhs` are equal up to a case conversion, and &hyphen;1 otherwise&period; See &lcub;Caseless Comparisons&rcub;&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;stringviewutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
upperCaseCmp(
    std::string&lowbar;view const& lhs,
    std::string&lowbar;view const& rhs);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
