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< TIsCharType< OtherCharType >::Value > &42;>
int32 Compare
&40;
TStringView< OtherCharType > Other,
ESearchCase::Type SearchCase
&41; 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. |