Returns the first occurrence of the substring between the specified start and end needles.
If the start needle is not found, returns the original string.
If the end needle is not found, returns the substring from after the start needle to the end of the string.
Returns the first occurrence of the substring between the specified start and end needles. If the start needle is not found, returns the original string. If the end needle is not found, returns the substring from after the start needle to the end of the string.