klyn.MutableString.center
method
public center(width as Long, fill as Char = ' ') as String
Description

Returns immutable padded text, or the current snapshot if no padding is needed.

Parameters
ParameterDescription
widthRequested scalar width.
fillPadding character; defaults to a space.
Returns

The padded immutable String.

Example
result = m"Klyn".center(8, '.')