TStringView::Contains

Returns whether this view contains the specified substring.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/StringView.h

Include

#include "Containers/StringView.h"

Syntax

bool Contains
(
    ViewType Search
) const

Remarks

Returns whether this view contains the specified substring.

Returns

True if the view contains the search string, otherwise false.

Parameters

Parameter

Description

Search

Text to search for