remove first and last lines of string `s`,s[s.find('\n') + 1:s.rfind('\n')]