Domanda di colloquio di Spotify

coding interview: return list of texts between two given string in a paragraph