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 bool Contains
(
const FString & SearchIn,
const FString & Substring,
bool bUseCase,
bool bSearchFromEnd
)
Remarks
Returns whether this string contains the specified substring. Returns whether the string contains the substring
Parameters
| Name | Description |
|---|---|
| SubStr | Find to search for |
| SearchCase | Indicates whether the search is case sensitive or not ( defaults to ESearchCase::IgnoreCase ) |
| SearchDir | Indicates whether the search starts at the begining or at the end ( defaults to ESearchDir::FromStart ) |