In my situation, I will have a string that looks like this.
$emailList = "example@mail.com
example2@mail.com
example3@mail.com"
How can I port this into an array with no white-space so it would look like
$emailList = @("example@mail.com","example2@mail.com","example3@mail.com"