(fmx str &rest args) => state
See fmt for further explanation, including documentation of the tilde-directives.