#!/usr/bin/env ruby hi = "Hello, %s" puts hi % "myValue!" # => "Hello, myValue!" puts hi % "people!" # => "Hello, people!" puts hi % "universe!" # => "Hello, universe!"