Handbook
Glossary
sprintf ( format-string -- quot )
Formatted printing
Prev:
printf ( format-string -- quot )
Next:
strftime ( format-string -- quot )
Vocabulary
formatting
Inputs
format-string
a
string
Outputs
None
Word description
Returns the arguments (specified on the stack) formatted according to the format string as a result string.
See also
printf
Definition
USING:
formatting.private
kernel
sequences.generalizations
;
IN:
formatting
MACRO:
sprintf
( format-string -- quot )
printf-quot
[
""
nappend-as
]
curry
compose
;