我正在寻找类似于python中的TRIM(),但是.strip()并没有做到这一点。\xc2\xa0'
'Elvis Presley made his film debut in this tale of three brothers who, False
我将如何完成上面的工作--在文本的边缘修剪所有空格字符--我可以得到s.trim() == s2.trim() (除了做s.strip('\xc2</
IPython 3.2.1 -- An enhanced Interactive Python.help -> Python's own help system.我知道这一具体情况的替代工作。IPython 3.2.1 -- An enhanced Interactive Python.
?In [1]: i = 'Testing t