Python 字符串操做(string替換、刪除、截取、複製、鏈接、比較、查找、包含、大小寫轉換、分割等)...

http://www.cnblogs.com/huangcong/archi s.strip() .lstrip() .rstrip(',') 去空格及特殊符號 複製字符串 Pythonhtml 1 #strcpy(sStr1,sStr2) 2 sStr1 = 'strcpy' 3 sStr2 = sStr1 4 sStr1 = 'strcpy2' 5 print sStr2 鏈接字符串 Pyth
相關文章
相關標籤/搜索