UKismetStringTableLibrary::GetKeysFromStringTable
#include "Kismet/KismetStringTableLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns every key defined within a registered string table.
Caveats & Gotchas
- • Returns an empty array if the table isn't registered, indistinguishable from a table that is registered but genuinely has zero entries.
- • Key order reflects the table's internal enumeration order, not necessarily authoring order in the source CSV or asset.
Signature
static TArray<FString> GetKeysFromStringTable(const FName TableId); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| TableId | const FName | Registered ID of the string table. | — |
Return Type
TArray<FString> Example
Enumerate keys in a table C++
const TArray<FString> Keys = UKismetStringTableLibrary::GetKeysFromStringTable(TEXT("MyGameStrings")); See Also
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?