CommandLineStringSplitter.Split(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.