FString::Contains

Syntax

bool Contains
(
    const FString & SubStr,
    ESearchCase::Type SearchCase,
    ESearchDir::Type SearchDir
) const

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 )

References

Module

Core

Header

Runtime/Core/Public/Containers/UnrealString.h