Expand Minimize

SplitOptions Enumeration

Defines the options available for the –split operator that is used to separate one or more strings into substrings. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As SplitOptions

'Declaration
<FlagsAttribute> _
Public Enumeration SplitOptions
/** @attribute FlagsAttribute() */ 
public enum SplitOptions
FlagsAttribute 
public enum SplitOptions

Member nameDescription
CultureInvariantIgnores cultural differences in language when evaluating the delimiter. This option is valid only with the RegexMatch option. This field is introduced in Windows PowerShell 2.0.
ExplicitCaptureIgnores non-named match groups, so that only explicit capture groups are returned in the result list. This option is valid only with the RegexMatch option. This field is introduced in Windows PowerShell 2.0.
IgnoreCaseForces case-insensitive matching, even if –cSplit is specified. This field is introduced in Windows PowerShell 2.0.
IgnorePatternWhitespaceIgnores unescaped whitespace and comments marked with #. This option is valid only with the RegexMatch option. This field is introduced in Windows PowerShell 2.0.
MultilineRecognizes the start and end of lines, as well as the start and end of strings. This option is valid only with the RegexMatch option. This field is introduced in Windows PowerShell 2.0.
RegexMatchUses regular expression matching to evaluate the delimiter. (This is the default behavior.) This option cannot be used with the SimpleMatch option. This field is introduced in Windows PowerShell 2.0.
SimpleMatchUses simple string comparison when evaluating the delimiter. This option cannot be used with the RegexMatch option. This field is introduced in Windows PowerShell 2.0.
SinglelineRecognizes only the start and end of strings. (This is the default behavior.) This option is valid only with the RegexMatch option. This field is introduced in Windows PowerShell 2.0.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft