UKismetStringLibrary::EqualEqual_StrStr
#include "Kismet/KismetStringLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Tests whether two strings are exactly equal, including case. Backs the Blueprint "Equal Exactly (String)" node (===).
Caveats & Gotchas
- • Case-sensitive; "Hello" and "hello" compare as not equal, unlike EqualEqual_StriStri.
- • Compares content via FString's operator==, not identity, so two distinct FString instances with matching characters are still equal.
Signature
static bool EqualEqual_StrStr(const FString& A, const FString& B) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| A | const FString& | The string to compare against. | — |
| B | const FString& | The string to compare. | — |
Return Type
bool Example
Exact string comparison C++
if (UKismetStringLibrary::EqualEqual_StrStr(InputText, TEXT("Confirm")))
{
// exact, case-sensitive match
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?