看板 [ Python ]
討論串[問題] 一行字串中如何找出第一個中文字
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者cphsu (kent)時間10年前 (2015/07/22 22:07), 編輯資訊
0
0
3
內容預覽:
I'm not sure what's the encoding of your string, so I made two programs.. Use at your own risk. Especially the second pattern is not exactly the range
(還有599個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者pandadao (panda)時間10年前 (2015/07/22 15:23), 編輯資訊
0
0
0
內容預覽:
各位前輩好,最近小弟在練習寫python,遇到一個難題,假設我現在有一行. 文字,類似像 x=643 y=17 text=回首頁,可是有時候text後面會有一些符號. 像是括號或逗點之類的,像是x=643 y=17 text=(回首頁) 要怎麼樣才能在. 保留前面座標軸資料的前提下找出第一個中文字呢
首頁
上一頁
1
下一頁
尾頁