Ho uno stringa che ha indirizzi email separati da virgola:Come suddividere un contenuto di stringhe in una serie di stringhe in PowerShell?
$address = "[email protected]; [email protected]; [email protected]"
Come posso dividere questo in un array di stringhe che risulterebbe come la seguente?
[string[]]$recipients = "[email protected]", "[email protected]", "[email protected]"
Possibile duplicato di [Dividi stringa con PowerShell e fai qualcosa con ciascun token] (http://stackoverflow.com/questions/11348506/split-string-with-powershell-and-do-something-with-each-token) –