mstr = "aa-bb-cc-dd"; getstr = mstr.split('-'); #['aa', 'bb', 'cc', 'dd'] print(getstr) getstr = mstr.split('-')[3]; #dd #抓取第3個 ...
確定! 回上一頁