1. Formatting Console Headers
Software DeveloperBackground
A developer needs to print a clean header for a CLI application output.
Problem
The text looks messy and unaligned when printed directly to the console.
How to use
Input the header text, set the target length to 40, and use '=' as the fill character.
targetLength: 40, fillChar: '=', autoDetectLength: falseOutcome
The text is perfectly centered within a 40-character wide border of equals signs.