I am trying to extract something from an email. The general format of the email will always be:
blablablablabllabla hello my friend. [what I want] Goodbye
you can also use Regex
string s = Regex.Match(yourinput, @"hello my friend(.+)Goodbye my friend", RegexOptions.Singleline) .Groups[1].Value;