ljust

emlib.textlib.ljust(s, width, fillchar=' ')[source]

Like str.ljust, but ensures that the output is always the given width

Even if s is longer than width

Return type:

str