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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top