strings
-split vs .split()
-split vs .split()
-split will split on a string
.spliit() defaults to split by character but you can change this like the example below
https://msdn.microsoft.com/en-us/library/System.String.Split(v=vs.110).aspx
http://w3facility.org/question/how-to-split-string-by-string-in-powershell/
$delim = [string[]]@(" Error: ")
$string.split($delim, [System.StringSplitOptions]::None)
$string.split($delim, [System.StringSplitOptions]::RemoveEmptyEntries)