String

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I need to create a MailAddress from a string that contains the Address
and Name:

MyString = "(e-mail address removed),My Name"

So the Mail Address would become:

Dim ma As System.Net.Mail.MailAddress = New
System.Net.Mail.MailAddress("(e-mail address removed)", "My Name")

Basically I want to split the string.

How can I do this?

Thanks,
Miguel
 
Back
Top