Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/FString > API/Runtime/Core/Containers/FString/Contains
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h |
| Include | #include "Containers/UnrealString.h" |
bool Contains
&40;
const TCHAR &42; SubStr,
ESearchCase::Type SearchCase,
ESearchDir::Type SearchDir
&41; const
Remarks
Returns whether this string contains the specified substring. Returns whether the string contains the substring. If the substring is empty, returns true.
Parameters
| Name | Description |
|---|---|
| SubStr | Text 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 beginning or at the end ( defaults to ESearchDir::FromStart ) |