powered by
str
width
fillchar
nchar(str)
pystr_ljust(str, width, fillchar = " ")
pystr_rjust
pystr_ljust("left", 10) pystr_ljust("left", 10, "*")
Run the code above in your browser using DataLab