摘要:
Python 字符串操作(string替换、删除、截取、复制、连接、比较、查找、包含、大小写转换、分割等) 去空格及特殊符号 s.strip() .lstrip() .rstrip(',') 复制字符串 #strcpy(sStr1,sStr) sStr= 'strcpy' sStr = sStr sStr= 'strcpy' print sStr 连接字符串 #strcat(sStr1,sStr) sStr= 'strcat... 阅读全文
posted @ 2013-10-24 00:37
zhxiang
阅读(12340)
评论(0)
推荐(0)