title: How do I center text in a console application?
body: <p>I am creating a console application and I need to center the text. Is there an easy way to do that, or do I have to place spaces before the text until it is centered? Thank you for your help.</p>
  
  <p>Example, using '|' as the center of the console:
                                          Hello|World</p>