![]() |
PCDVD數位科技討論區
(https://www.pcdvd.com.tw/index.php)
- 七嘴八舌異言堂
(https://www.pcdvd.com.tw/forumdisplay.php?f=12)
- - 請問如何用excel函數抽出條碼最後幾個數字?
(https://www.pcdvd.com.tw/showthread.php?t=865268)
|
---|
用 sed
echo 0155019315022324171307283012010903602 |sed 's/.*10\(.*\)/\1/' output: 903602 |
限制最後位數不得小於6位
echo 015501931502232417130728301201090361002 |sed 's/.*10\(.\{6,\}\)/\1/' output: 90361002 這樣就不怕條碼裡面有 10 了,依照自己情形利用吧 |
所有的時間均為GMT +8。 現在的時間是07:03 PM. |
vBulletin Version 3.0.1
powered_by_vbulletin 2025。