數字(Number); 字串(String); 陣列(Array); 範圍(Range) ... puts "PHP is good, and I love PHP".sub(/PHP/, "Ruby") # sub 只會換掉最先遇到的那個字串 ...
確定! 回上一頁