FString::RemoveFromStart

Syntax

bool RemoveFromStart
(
    const TCHAR * InPrefix,
    ESearchCase::Type SearchCase
)

Remarks

Removes the text from the start of the string if it exists.

Returns

true if the prefix was removed, otherwise false.

Parameters

Parameter

Description

InPrefix

the prefix to search for at the start of the string to remove.

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h

Source

Runtime/Core/Private/Containers/String.cpp