UKismetStringLibrary::Contains

Returns whether this string contains the specified substring.

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 Contains
(
    const FString & SearchIn,
    const FString & Substring,
    bool bUseCase,
    bool bSearchFromEnd
)

Remarks

Returns whether this string contains the specified substring.

Returns

Returns whether the string contains the substring

Parameters

Parameter

Description

SubStr

Find to search for

SearchCase

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

SearchDir

Indicates whether the search starts at the begining or at the end ( defaults to ESearchDir::FromStart )

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