rightJustifier
fn
auto rightJustifier(Range)(Range r, size_t width, dchar fillChar = ' ') if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
!isConvertibleToString!Range)Right justify s in a field width characters wide. fillChar is the character that will be used to fill up the space in the field that s doesn't fill.
Parameters
r | string or forward range of characters |
width | minimum field width |
fillChar | used to pad end up to width characters |
Returns
a lazy range of the right justified result