perl join split

 在perl中, join()和 split()的功能是相反的。 一.join函數  1.做用:把數組元素或者幾個字符串經過分隔符鏈接成單個字符串  2.格式:join(DELIMITER,ARRAY或string[1,2,3...])  3.實例:#join $name="Tom"; $birth="01/02/86"; $addr="chengdu.sichuan"; $info=join("
相關文章
相關標籤/搜索