Mega Code Archive
Categories
/
Ruby
/
String
The replace method replaces a string wholesale
call = "All hands on deck!" puts call.replace "All feet on deck!"