Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool RemoveFromEnd
(
CharRangeType&& InSuffix, |
Removes the text from the end of the string if it exists. | ||
bool RemoveFromEnd
(
const ElementType* InSuffix, |
Removes the text from the end of the string if it exists. | ||
bool RemoveFromEnd
(
const FString& InSuffix, |
Removes the text from the end of the string if it exists. | ||
bool RemoveFromEnd
(
const ElementType* InSuffix, |
Removes the text from the end of the string if it exists. |
RemoveFromEnd(CharRangeType &&, ESearchCase::Type)
Description
Removes the text from the end of the string if it exists.
| Name | RemoveFromEnd |
| 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 RemoveFromEnd
(
CharRangeType && InSuffix,
ESearchCase::Type SearchCase
)
true if the suffix was removed, otherwise false.
Parameters
| Name | Remarks |
|---|---|
| InSuffix | The suffix to search for at the end of the string to remove. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
RemoveFromEnd(const ElementType *, ESearchCase::Type)
Description
Removes the text from the end of the string if it exists.
| Name | RemoveFromEnd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
bool RemoveFromEnd
(
const ElementType * InSuffix,
ESearchCase::Type SearchCase
)
true if the suffix was removed, otherwise false.
Parameters
| Name | Remarks |
|---|---|
| InSuffix | The suffix to search for at the end of the string to remove. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
RemoveFromEnd(const FString &, ESearchCase::Type)
Description
Removes the text from the end of the string if it exists.
| Name | RemoveFromEnd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
bool RemoveFromEnd
(
const FString & InSuffix,
ESearchCase::Type SearchCase
)
true if the suffix was removed, otherwise false.
Parameters
| Name | Remarks |
|---|---|
| InSuffix | The suffix to search for at the end of the string to remove. |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |
RemoveFromEnd(const ElementType *, int32, ESearchCase::Type)
Description
Removes the text from the end of the string if it exists.
| Name | RemoveFromEnd |
| 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 RemoveFromEnd
(
const ElementType * InSuffix,
int32 InSuffixLen,
ESearchCase::Type SearchCase
)
true if the suffix was removed, otherwise false.
Parameters
| Name | Remarks |
|---|---|
| InSuffix | The suffix to search for at the end of the string to remove. |
| InSuffixLen | The length of InSuffix |
| SearchCase | Indicates whether the search is case sensitive or not (defaults to ESearchCase::IgnoreCase) |