Python 字符串strip() 方法 ... strip() 方法删除任何前导(开头的空格)和尾随(结尾的空格)字符(空格是要删除的默认前导字符)。 语法. string.strip(characters) ...
確定! 回上一頁