FString::FindLastChar

Searches the string for the last occurrence of a character

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h

Include

#include "Containers/UnrealString.h"

Syntax

bool FindLastChar
(
    TCHAR InChar,
    int32 & Index
) const

Remarks

Searches the string for the last occurrence of a character

Returns

true if character was found in this string, otherwise false

Parameters

Parameter

Description

InChar

the character to search for

Index

out the position the character was found at, INDEX_NONE if return is false

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss