Ruby program to demonstrate # the gsub! method # Taking a string and # using the method puts "Sample".gsub!(/[bcd]/, '*') puts "Program".gsub!
確定! 回上一頁