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
try myStr.substring(start,end);
myStr.substring(start,end);