Hi ,
Im trying to extract email id from the given string with out using Regex.
I’m going some where wrong in this.
Can any one help me out with this.
Given String is : “Please use the following address to contact me john.doe@localcompany.com, it’s the company email"
I used following Split method method to get email id.
givenString.Split(",“c).First.ToString.Substring(givenString.LastIndexOf(” "))
Thank in Advance.