[Python-ideas] startswith() and endswith() methods returning the matched value