Bruce,
As the other have pointed out have you looked at one of the 3 split methods?
Its unclear from your post, does the input string literally contain quotes &
curly braces? You may need to do a little more work. In addition to
RegEx.Split you can use one of the email patterns & RegEx.Matches to find
all the email addresses in a string, which for your string may be the easier
method. A variation of the following topics:
http://msdn.microsoft.com/library/de...nformation.asp http://msdn.microsoft.com/library/de...nformation.asp
There are three Split functions in .NET:
Use Microsoft.VisualBasic.Strings.Split if you need to split a string based
on a specific word (string). It is the Split function from VB6.
Use System.String.Split if you need to split a string based on a collection
of specific characters. Each individual character is its own delimiter.
Use System.Text.RegularExpressions.RegEx.Split to split based
on matching patterns.
Hope this helps
Jay
"Bruce Wiebe" <Br***@wolfnetwork.net> wrote in message
news:bu**********@sparta.btinternet.com...
Hi all
I have a string that contains a list of email addresses in the format
{"X@y.com","x@y.com"} and i need to convert it to a string array in the
same format so my array would loook like
dim emailaddresses() as string={"X@y.com","x@y.com"}
Does anyone know an easy way to do this
Thanks in advance