HEADER and FOOTER string formatting.