I'm implementing a batch program that execute some different things in different steps. For each step, I want to display a "friendly" text header like this:
*************************************************************
* MY FIRST STEP *
*************************************************************
"MY FIRST STEP" is a variable that could have a various length.
My question: do you have an algorithm or a function that could return this string as output with the string header to display in input parameter ?
Thanks in advance.
Regards