利用切片操作,实现一个trim()函数,去除字符串首尾的空格,注意不要调用str的strip()方法

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/anthinia/p/10930212.html