FString::MatchesWildcard

Searches this string for a given wild card This is a simple, SLOW routine. Use with caution

Windows
MacOS
Linux

Warnings

  • This is a simple, SLOW routine. Use with caution

References

Module

Core

Header

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

Include

#include "Containers/UnrealString.h"

Source

/Engine/Source/Runtime/Core/Private/Containers/String.cpp

Syntax

bool MatchesWildcard
(
    const TCHAR * Wildcard,
    ESearchCase::Type SearchCase
) const

Remarks

Searches this string for a given wild card

This is a simple, SLOW routine. Use with caution

Returns

true if this string matches the *?-type wildcard given.

Parameters

Parameter

Description

Wildcard

*?-type wildcard

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