centerAlignText

Center-aligns text, returns that in an char[] with width as length. The empty part filled with ' '

char[]
centerAlignText
(
char[] text
,,
char fill = ' '
)

Meta