FTextFormat::ValidatePattern

Validate the format pattern is valid based on the rules of the given culture (or null to use the current language).

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Text.h

Include

#include "Internationalization/Text.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/TextFormatter.cpp

Syntax

bool ValidatePattern
(
    const FCulturePtr & InCulture,
    TArray< FString > & OutValidationErrors
) const

Remarks

Validate the format pattern is valid based on the rules of the given culture (or null to use the current language).

Returns

true if the pattern is valid, or false if not (false may also fill in OutValidationErrors).

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