FString::Compare

Syntax

int32 Compare
(
    const FString & Other,
    ESearchCase::Type SearchCase
) const

Remarks

Lexicographically tests how this string compares to the Other given string

Returns

0 if equal, negative if less than, positive if greater than

Parameters

Parameter

Description

Other

The string test against

SearchCase

Whether or not the comparison should ignore case

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h