Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetStringLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetStringLibrary.h |
| Include | #include "Kismet/KismetStringLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetStringLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Utilities|String")
static int32 GetCharacterAsNumber
(
const FString & SourceString,
int32 Index
)
Remarks
Gets a single character from the string (as an integer) The integer value of the character or 0 if index is out of range
Parameters
| Name | Description |
|---|---|
| SourceString | The string to convert |
| Index | Location of the character whose value is required |