JanetDocsPlaygroundI'm feeling luckyGitHub sign in

buffer/format



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

    (buffer/format buffer format & args)

    Snprintf like functionality for printing values into a buffer. 
    Returns the modified buffer.


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