string helper method to find a string between to other strings