See
str.center
.