FString::StartsWith

Syntax

bool StartsWith
(
    const FString & InPrefix,
    ESearchCase::Type SearchCase
) const

Remarks

Test whether this string starts with given string.

Returns

true if this string begins with specified text, false otherwise

Parameters

Parameter

Description

SearchCase

Indicates whether the search is case sensitive or not ( defaults to ESearchCase::IgnoreCase )

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h

Source

Runtime/Core/Private/Containers/String.cpp