1% Generated by roxygen2 (4.1.1): do not edit by hand
2% Please edit documentation in R/pystr_ljust.R
3\name{pystr_ljust}
4\alias{pystr_ljust}
5\title{Left justify a string.}
6\usage{
7pystr_ljust(str, width, fillchar = " ")
8}
9\arguments{
10\item{str}{A character vector.}
11
12\item{width}{An integer.}
13
14\item{fillchar}{A character string.}
15}
16\value{
17A character vector.
18}
19\description{
20Return \code{str} left justified in a string of length \code{width}.
21Padding is done using the specified \code{fillchar} (default is an ASCII space).
22The original string is returned if \code{width} is less than or equal to \code{nchar(str)}.
23}
24\examples{
25pystr_ljust("left", 10)
26pystr_ljust("left", 10, "*")
27}
28\references{
29\url{https://docs.python.org/3/library/stdtypes.html#str.ljust}
30}
31\seealso{
32\code{\link{pystr_rjust}}
33}
34
35