centerJustifier

fnauto centerJustifier(Range)(Range r, size_t width, dchar fillChar = ' ') if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) && !isConvertibleToString!Range)

Center justify r in a field width characters wide. fillChar is the character that will be used to fill up the space in the field that r doesn't fill.

Parameters

rstring or forward range of characters
widthminimum field width
fillCharused to pad end up to width characters

Returns

a lazy range of the center justified result

See Also

fnauto centerJustifier(Range)(auto ref Range r, size_t width, dchar fillChar = ' ') if (isConvertibleToString!Range)
No documentation available for this declaration.