The cases where compound modifiers such as capital F are used are handled by specifying all arguments in the sprintf function call.
This is faster than using a recursive function call, but it is a little more verbose.