01-26-2005, 08:05 PM
str s ;;declare variable s
s.format("This is line %i of paragraph 5." x) ;;replaces %i to x
;-or-
s.from("This is line " x " of paragraph 5.") ;;join several parts. With older QM versions, only two parts can be used.
;-or-
s="This is line "; s+x; s+" of paragraph 5."
outp s ;;paste s
;-or-
outp "This is line %i of paragraph 5." x ;;format and paste