Next: Exact string Search
Up: Printing
Previous: printf
The sprintf command is identical to the printf command
except that instead of sending the result of evaluating the text
pattern to the terminal, it returns it as a name.
sprintf(
textpattern,
)
The %a can not be included as a conversion
pattern in
textpattern.
> res := sprintf('%s %d.', 'ACCAGACCATG', 11);
res := ACCAGACCATG 11.
Gaston Gonnet
1998-09-15