How to center a String

edited November 2014 in How To...

Hello everyone,

I coded a typewriter-like program and I would like to know if there is a way to center a string? I want the typed text to be displayed in the center of my window, no matter how many characters the string contains.

Thanks for the help!

Tagged:

Answers

Sign In or Register to comment.