format_variadic

Function format_variadic 

Source
pub fn format_variadic(fmt: &str, args: &[Value]) -> Result<String, String>
Expand description

Format a MATLAB-style format string with the provided arguments.

This function consumes arguments in column-major order, supports field widths, precision (including the * form), and honours the usual printf flags for the subset required by MATLAB builtins. It is intentionally strict: errors are reported when format specifiers cannot be satisfied by the provided arguments.