Return a copy of the string with leading and trailing whitespace removed. If chars is given and not None, remove characters in chars instead.
>>> ' spacious '.strip() 'spacious' >>> 'www.example.com'.strip('cmowz.') 'example'
builtins/str.strip
str.strip