Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Commandlets > API/Runtime/Engine/Commandlets/UCommandlet > API/Runtime/Engine/Commandlets/UCommandlet/ParseCommandLine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Commandlets/Commandlet.h |
| Include | #include "Commandlets/Commandlet.h" |
static void ParseCommandLine
(
const TCHAR * CmdLine,
TArray < FString > & Tokens,
TArray < FString > & Switches,
TMap < FString , FString > & Params
)
Remarks
Parses a string into tokens, separating switches (beginning with - or /) 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 |
| Params | [out] filled with all switches found in the string with the format key=value |