substring

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a string
(e-mail address removed) (Bobby Gill)

I want to parse it and want to get the substring "(e-mail address removed)" before
space.
Could you please give me code.

thanks
 
I have a string
(e-mail address removed) (Bobby Gill)

I want to parse it and want to get the substring "(e-mail address removed)" before
space.
Could you please give me code.

string strRaw = "(e-mail address removed) (Bobby Gill)";
strEmailAddress = strRaw.Split(' ')[0];
 
Back
Top