Русский
Оформление
Центрирует строку, добавляя отступы с обеих сторон.
function padCenter(str: string, length: number, char?: string): string
import { padCenter } from 'strio' padCenter('hello', 11) // " hello "