- 博客(1)
- 收藏
- 关注
转载 【Python】字符串函数
生成字符串变量 str='python String function' 字符串长度获取:len(str) 例:print '%s length=%d' % (str,len(str)) 连接字符串 sStr1 = 'strcat' sStr2 = 'append' sStr1 += sStr2 print sStr1 复制字符串 #strcpy(sStr1,sS
2017-03-29 17:41:59 216
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人