This topic has not yet been rated - Rate this topic

SplitOptions Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)
'Usage
Dim instance As SplitOptions

[FlagsAttribute] 
public enum SplitOptions
/** @attribute FlagsAttribute() */ 
public enum SplitOptions
FlagsAttribute 
public enum SplitOptions
Member name Description
CultureInvariant Ignores 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.
ExplicitCapture Ignores 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.
IgnoreCase Forces case-insensitive matching, even if –cSplit is specified. This field is introduced in Windows PowerShell 2.0.
IgnorePatternWhitespace Ignores unescaped whitespace and comments marked with #. This option is valid only with the RegexMatch option. This field is introduced in Windows PowerShell 2.0.
Multiline Recognizes 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.
RegexMatch Use 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.
SimpleMatch Use 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.
Singleline Recognizes only the start and end of strings (this is the default). 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.
Did you find this helpful?
(1500 characters remaining)