format-to-string

There are two unrelated format-to-string functions.

Summary
There are two unrelated format-to-string functions.
Process a format string and return the result as another string.
Process a simple format string and return the result as another string.

Generic Functions

format-to-string

Process a format string and return the result as another string.  This function effectively calls format and returns the result as a string.

Exported from

Modifiers

sealed

Arguments

control-stringAn instance of <string>.
#rest argsInstances of <object>.  The objects to substitute for the format fields in control-string.

Values

resultAn instance of <string>.

Functions

format-to-string

Process a simple format string and return the result as another string.  This is a more limited version of format exported by Module format.  It supports the following format directives (see Format Directives):

%dAs format.
%bAs format.
%oAs format.
%xAs format.
%cAs format.
%sFormats its argument as a simple string if possible.  Otherwise, as %=.
%=Formats its argument in a form useful for developers.
%%As format.

These format directives cannot include flags, precision, or width specifiers.

Exported from

Arguments

argAn instance of <string>.
#rest moreInstances of <object>.

Values

valAn instance of <string>.
There are two unrelated format-to-string functions.
Format a string and write it to a stream.
The Format module provides a way to control output to a stream.
The class of sequences with elements that are characters.
The class of all Dylan objects.
The common-dylan module.
Miscellaneous extensions to the Dylan language.