Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TStringView > API/Runtime/Core/Containers/TStringView/Compare
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/StringView.h |
| Include | #include "Containers/StringView.h" |
template<typename OtherCharType, std::enable_if_t<< OtherCharType >), int >>
int32 Compare
(
TStringView < OtherCharType > Other,
ESearchCase::Type SearchCase
) const
Remarks
Compare this view with a string view. 0 is equal, negative if this view is less, positive if this view is greater.
Parameters
| Name | Description |
|---|---|
| Other | A string view that is comparable with the character type of this view. |
| SearchCase | Whether the comparison should ignore case. |