Added getBetween method to get string between two strings.