I have a string that has email addresses separated by semi-colon:
$address = "foo@bar.com; boo@bar.com; zoo@bar.com"
How can I split this into an array of strings that would result as the following?
[string[]]$recipients = "foo@bar.com", "boo@bar.com", "zoo@bar.com"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…