I have a string like this:
I need to extract 2 parts from this string(mailbox and server) and put them in two new strings as follows:
stringa = "mail"
stringb = "server.com"
all other bits can be discarded.
I would be very gretful if anyone has some code for extracting these two bits either side of the @ symbol, please remember any email address could be in there.