1 USING: help.markup help.syntax io math strings ;
5 { $values { "str" string } }
6 { $description "String interpolation using named variables and/or stack arguments, writing to the " { $link output-stream } "." }
10 "\"Bob\" \"Alice\" \"Hi ${0}, it's ${1}.\" interpolate."
14 "USING: interpolate namespaces ;"
15 "\"Fred\" \"name\" [ \"Hi ${name}\" interpolate. ] with-variable"
21 { $values { "str" string } { "newstr" string } }
22 { $description "String interpolation using named variables and/or stack arguments, captured as a " { $link string } "." } ;
24 { interpolate interpolate. } related-words