FDefaultValueHelper::ParseInt

Converts a string into a int32.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/DefaultValueHelper.h

Include

#include "Misc/DefaultValueHelper.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/DefaultValueHelper.cpp

Syntax

static bool ParseInt
(
    const FString & Source,
    int32 & OutVal
)

Remarks

Converts a string into a int32.

Returns

true if the conversion happened, false otherwise

Parameters

Parameter

Description

Source

the input string to try to convert

OutVal

the output integer

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