Returns the substring between the first occurrence of begin and the last occurrence of end.
the substring between the delimiters
the start delimiter
the end delimiter