string or range of characters
minimum field width
used to pad end up to width characters
a lazy range of the left justified result
import std.algorithm.comparison : equal; import std.utf : byChar; assert(leftJustifier("hello", 2).equal("hello".byChar)); assert(leftJustifier("hello", 7).equal("hello ".byChar)); assert(leftJustifier("hello", 7, 'x').equal("helloxx".byChar));
Left 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.