Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FCommandLine
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/CommandLine.h |
Include | #include "Misc/CommandLine.h" |
Source | /Engine/Source/Runtime/Core/Private/Misc/CommandLine.cpp |
static void Parse
&40;
const TCHAR &42; CmdLine,
TArray< FString > & Tokens,
TArray< FString > & Switches
&41;
Remarks
Parses a string into tokens, separating switches (beginning with -) from other parameters
Parameters
Name | Description |
---|---|
CmdLine | the string to parse |
Tokens | [out] filled with all parameters found in the string |
Switches | [out] filled with all switches found in the string |