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 |
static int32 FindSubstring
&40;
const FString & SearchIn,
const FString & Substring,
bool bUseCase,
bool bSearchFromEnd,
int32 StartPosition
&41;
Remarks
Finds the starting index of a substring in the a specified string The index (starting from 0 if bSearchFromEnd is false) of the first occurence of the substring
Parameters
| Name | Description |
|---|---|
| SearchIn | The string to search within |
| Substring | The string to look for in the SearchIn string |
| bUseCase | Whether or not to be case-sensitive |
| bSearchFromEnd | Whether or not to start the search from the end of the string instead of the beginning |
| StartPosition | The position to start the search from |