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 OtherRangeType, decltype(MakeStringView(DeclVal< OtherRangeType >()))&42;>
int32 Compare
&40;
OtherRangeType && Other,
ESearchCase::Type SearchCase
&41; const
Remarks
Compare this view with a character range. 0 is equal, negative if this view is less, positive if this view is greater.
Parameters
| Name | Description |
|---|---|
| Other | A character range that is comparable with the character type of this view. |
| SearchCase | Whether the comparison should ignore case. |