str ='python String function' 字串長度獲取:len(str) 例:print '%s length=%d' % (str,len(str)) 連線字串 sStr1 = 'strcat' sStr2 = 'append'
確定! 回上一頁