bobby@dotnet.itags.org.yahoo.com (Bobby Gill)
I want to parse it and want to get the substring "bobby@dotnet.itags.org.yahoo.com" before
space.
Could you please give me code.
thanks"bobby" <bobby@.discussions.microsoft.comwrote in message
news:23977997-B516-48B3-BC3C-BD5296C6B736@.microsoft.com...
Quote:
Originally Posted by
>I have a string
bobby@.yahoo.com (Bobby Gill)
>
I want to parse it and want to get the substring "bobby@.yahoo.com" before
space.
Could you please give me code.
string strRaw = "bobby@.yahoo.com (Bobby Gill)";
strEmailAddress = strRaw.Split(' ')[0];
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
0 comments:
Post a Comment