Return the result of comparing to another string
<include/boost/url/decode_view.hpp>
int
compare(core::string_view other) const noexcept;
The length of the sequences to compare is the smaller of `size()` and `other.size()`.
The function compares the two strings as if by calling `char_traits
Negative value if this string is less than the other character sequence, zero if the both character sequences are equal, positive value if this string is greater than the other character sequence
Name | Description |
---|---|
other | string to compare |