Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool StartsWith
(
CharRangeType&& InPrefix, |
Test whether this string starts with given prefix. | ||
bool StartsWith
(
const ElementType* InPrefix, |
Test whether this string starts with given prefix. | ||
bool StartsWith
(
const FString& InPrefix, |
Test whether this string starts with given prefix. | ||
bool StartsWith
(
const ElementType* InPrefix, |
Test whether this string starts with given prefix. |
StartsWith(CharRangeType &&, ESearchCase::Type)
Description
Test whether this string starts with given prefix.
| Name | StartsWith |
| 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 StartsWith
(
CharRangeType && InPrefix,
ESearchCase::Type SearchCase
) const
true if this string begins with specified text, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InPrefix | The prefix to search for at the start of the string. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
StartsWith(const ElementType *, ESearchCase::Type)
Description
Test whether this string starts with given prefix.
| Name | StartsWith |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
bool StartsWith
(
const ElementType * InPrefix,
ESearchCase::Type SearchCase
) const
true if this string begins with specified text, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InPrefix | The prefix to search for at the start of the string. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
StartsWith(const FString &, ESearchCase::Type)
Description
Test whether this string starts with given prefix.
| Name | StartsWith |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
bool StartsWith
(
const FString & InPrefix,
ESearchCase::Type SearchCase
) const
true if this string begins with specified text, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InPrefix | The prefix to search for at the start of the string. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
StartsWith(const ElementType *, int32, ESearchCase::Type)
Description
Test whether this string starts with given prefix.
| Name | StartsWith |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/String.cpp.inl |
bool StartsWith
(
const ElementType * InPrefix,
int32 InPrefixLen,
ESearchCase::Type SearchCase
) const
true if this string begins with specified text, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InPrefix | The prefix to search for at the start of the string. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |