“One Two Three”.split(” “)
One
Two
Three
$Result = “One Two Three”.split(” “)
$Result[1]
Two
“abcde” -match ‘(…)’ ; $matches
True
Name Value
—- —–
1 abc
0 abc
“abcde” -match ‘(^.*d)’ ; $matches
True
Name Value
—- —–
1 abcd
0 abcd