Re: [問題] 怎樣從 ('xxx','xxxx','xxxxx','xxxx') …

看板Perl作者 (哇哇哇○( ̄﹏ ̄)○)時間18年前 (2006/03/03 00:46), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
※ 引述《greenberg (閻愛德精神)》之銘言: : 用perl的話是否有較快的方式 : 或是要用其他如awk? #!/usr/bin/perl $txt="('xxx','xxxx','xxxxx','xxxx')"; foreach($txt=~/'(.*?)'/g){ print "$_\n"; } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.16.1.95

03/04 00:12, , 1F
多謝!
03/04 00:12, 1F
文章代碼(AID): #141o5wMT (Perl)