UKismetStringLibrary::EndsWith

Test whether this string ends with given string.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetStringLibrary.h

Include

#include "Kismet/KismetStringLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetStringLibrary.cpp

Syntax

static bool EndsWith
(
    const FString & SourceString,
    const FString & InSuffix,
    ESearchCase::Type SearchCase
)

Remarks

Test whether this string ends with given string.

Returns

true if this string ends with specified text, false otherwise

Parameters

Parameter

Description

SearchCase

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

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