Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UE_FORCEINLINE_HINTint32 FindLastCharByPredicate
(
Predicate Pred |
Searches the string for the last occurrence of a character which matches the specified predicate. | ||
int32 FindLastCharByPredicate
(
Predicate Pred, |
Searches an initial substring for the last occurrence of a character which matches the specified predicate. |
FindLastCharByPredicate(Predicate)
Description
Searches the string for the last occurrence of a character which matches the specified predicate.
| Name | FindLastCharByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
template<typename Predicate>
UE_FORCEINLINE_HINTint32 FindLastCharByPredicate
(
Predicate Pred
) const
Index of the found character, INDEX_NONE otherwise.
Parameters
| Name | Remarks |
|---|---|
| Pred | Predicate that takes a character and returns true if it matches search criteria, false otherwise. |
FindLastCharByPredicate(Predicate, int32)
Description
Searches an initial substring for the last occurrence of a character which matches the specified predicate.
| Name | FindLastCharByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
template<typename Predicate>
int32 FindLastCharByPredicate
(
Predicate Pred,
int32 Count
) const
Index of the found character, INDEX_NONE otherwise.
Parameters
| Name | Remarks |
|---|---|
| Pred | Predicate that takes a character and returns true if it matches search criteria, false otherwise. |
| Count | The number of characters from the front of the string through which to search. |