String interpolation included

var extra = 'little'
say "Mary had a #{extra} lamb"

or:

say ("Mary had a %s lamb" % 'little')

See: documentation

Last updated