Ruby program to replace spaces with hyphen in a string. ... "Hello World" result = input.gsub(" ", "-") puts "After replacing input string ...
確定! 回上一頁