I was wondering if anyone knows a formula that would look at the length of a word and add spaces to center the word over 10 available character positions. For example, if I have a word that is 8 letters long, I need the formula to add one space before the word to have centered. A 3 letter word would need three spaces, and a 4 letter word would also need three.


|NATIONAL|
|||DOG||||
|||HELP|||