JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

buffer/format

core-api


    cfunction
    src/core/buffer.c on line 648, column 1

    (buffer/format buf fmt & args)

    Formats `fmt`, similar to `sprintf()`, with `args` into a buffer 
    `buf`. Returns buf.


1 exampleSign in to add an example
Loading...
(buffer/format @"0 - 1 = " "%d" -1)
# =>
@"0 - 1 = -1"
sogaiuPlayground