Edit

Share via


CommandLineStringSplitter.Split(String) Method

Definition

Splits a string into a sequence of strings based on whitespace and quotation marks.

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ Split(System::String ^ commandLine);
public System.Collections.Generic.IEnumerable<string> Split (string commandLine);
member this.Split : string -> seq<string>
Public Iterator Function Split (commandLine As String) As IEnumerable(Of String)

Parameters

commandLine
String

A command line input string.

Returns

A sequence of strings.

Applies to