Read-StringElement
PackageDeployment Module Help |
Package Deployment Module |
Read-StringElement Cmdlet |
Version 4.0.0.5 |
Read-StringElement
Synopsis
Get Substring from Formatted String List
Syntax
Read-StringElement [-String] <String> [-Separator] <String> [-Index] <String> [-ContinueOnError] [-SeparateChars] [-ResultVariable] <String> [<CommonParameters>]
Description
Collects a substring from a formatted string and stores it in a variable.
Parameters
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command |
||||||
|
-Index <String> |
||||||
Determines which substring you want to collect. The count starts from the left at 0 (0 is the first element). |
||||||
|
-ResultVariable <String> |
||||||
A variable that collects the result. |
||||||
|
-SeparateChars <SwitchParameter> |
||||||
If multiple characters are entered as separators, each individual character is taken as a separator, independent from the other characters. |
||||||
|
-Separator <String> |
||||||
The character separating individual substrings within the string. For the separator, two options are available. |
||||||
|
-String <String> |
||||||
The string you want to collect the substring from. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |