Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Contains
(
CharRangeType&& SubStr, |
Returns whether this string contains the specified substring. | ||
UE_FORCEINLINE_HINT bool Contains
(
const ElementType* SubStr, |
Returns whether this string contains the specified substring. | ||
UE_FORCEINLINE_HINT bool Contains
(
const FString& SubStr, |
Returns whether this string contains the specified substring. | ||
UE_FORCEINLINE_HINT bool Contains
(
const ElementType* SubStr, |
Returns whether this string contains the specified substring. |
Contains(CharRangeType &&, ESearchCase::Type, ESearchDir::Type)
Description
Returns whether this string contains the specified substring.
| Name | Contains |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
template<typename CharRangeType, typename CharRangeElementType>
bool Contains
(
CharRangeType && SubStr,
ESearchCase::Type SearchCase,
ESearchDir::Type SearchDir
) const
Returns whether the string contains the substring. If the substring is empty, returns true.
Parameters
| Name | Remarks |
|---|---|
| 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) |
Contains(const ElementType *, ESearchCase::Type, ESearchDir::Type)
Description
Returns whether this string contains the specified substring.
| Name | Contains |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
UE_FORCEINLINE_HINT bool Contains
(
const ElementType * SubStr,
ESearchCase::Type SearchCase,
ESearchDir::Type SearchDir
) const
Returns whether the string contains the substring. If the substring is empty, returns true.
Parameters
| Name | Remarks |
|---|---|
| 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) |
Contains(const FString &, ESearchCase::Type, ESearchDir::Type)
Description
Returns whether this string contains the specified substring.
| Name | Contains |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
UE_FORCEINLINE_HINT bool Contains
(
const FString & SubStr,
ESearchCase::Type SearchCase,
ESearchDir::Type SearchDir
) const
Returns whether the string contains the substring. If the substring is empty, returns true.
Parameters
| Name | Remarks |
|---|---|
| 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) |
Contains(const ElementType *, int32, ESearchCase::Type, ESearchDir::Type)
Description
Returns whether this string contains the specified substring.
| Name | Contains |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
UE_FORCEINLINE_HINT bool Contains
(
const ElementType * SubStr,
int32 SubStrLen,
ESearchCase::Type SearchCase,
ESearchDir::Type SearchDir
) const
Returns whether the string contains the substring. If the substring is empty, returns true.
Parameters
| Name | Remarks |
|---|---|
| SubStr | Text to search for |
| SubStrLen | Length of the Text |
| 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) |