Skip to main content

Module str_format

Module str_format 

Source
Expand description

Node: cxx:Function:Luau.VM:VM/src/lstrlib.cpp:966:str_format

string.format — walk the format string, copying literals and dispatching each % spec to the matching argument: %c/d/i/o/u/x/X/e/E/f/g/G go through C snprintf with the scanned format (integer specs get an int64 length modifier), %q quotes, %s formats or fast-paths long strings, %* appends any value, and %% is a literal percent.

Functions§

str_format