UKismetStringLibrary::EqualEqual_StriStri
#include "Kismet/KismetStringLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Tests whether two strings are equal, ignoring case. Backs the Blueprint "Equal, Case Insensitive (String)" node (==).
Caveats & Gotchas
- • The 'Stri' naming distinguishes it from EqualEqual_StrStr, which is case-sensitive — easy to grab the wrong node in Blueprint since both display similar '==' icons.
- • Case folding follows the engine's internal comparison rules; behavior for non-ASCII characters can differ from a manual ToUpper/ToLower comparison.
Signature
static bool EqualEqual_StriStri(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
Case-insensitive comparison C++
if (UKismetStringLibrary::EqualEqual_StriStri(PlayerInput, TEXT("yes")))
{
// matches "YES", "Yes", "yes", etc.
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?