{a,b,c,d}" />

DisplayClusterHelpers::str::ExtractArray

Extracts array value either from a command line string or any other line that matches the same format Example: extracting array value of param2 "param1=value1 param2="a,b,c,d" param3=value3" => {a,b,c,d}

Windows
MacOS
Linux

References

Module

DisplayCluster

Header

/Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/DisplayClusterUtils/DisplayClusterCommonHelpers.h

Include

#include "DisplayClusterUtils/DisplayClusterCommonHelpers.h"

Syntax

namespace DisplayClusterHelpers
{
    namespace str
    {
        template<typename T>
        static bool DisplayClusterHelpers::str::ExtractArray
        (
            const FString & InLine,
            const FString & InParamName,
            const FString & InSeparator,
            TArray< T > & OutValue
        )
    }
}

Remarks

Extracts array value either from a command line string or any other line that matches the same format Example: extracting array value of param2 "param1=value1 param2="a,b,c,d" param3=value3" => {a,b,c,d}

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