Perl 的 split 寫法 Perl 將字串分開可以用 split 這個函數,他可以使用 Regex,算是功能滿強大的。語法: split(/型別/, 字串); 例如最簡單的寫法: @s= split(/,/, '60,70,80'); 也可以 ...
note.tc.edu.tw