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>
int32 Compare
(
const OtherCharType * Other,
ESearchCase::Type SearchCase
) const
Remarks
Compare this view with a null-terminated string. 0 is equal, negative if this view is less, positive if this view is greater.
Parameters
| Name | Description |
|---|---|
| Other | A null-terminated string that is comparable with the character type of this view. |
| SearchCase | Whether the comparison should ignore case. |