1#' Left strip a string. 2#' 3#' Return a copy of the string with leading characters removed. 4#' 5#' The \code{chars} argument is a string specifying the set of characters to be removed. 6#' If omitted, the \code{chars} argument defaults to removing whitespace. 7#' The \code{chars} argument is not a prefix; rather, all combinations of its values are stripped. 8#' 9#' @param str A character vector. 10#' @param chars A character string. 11#' 12#' @return A character vector. 13#' 14#' @references \url{https://docs.python.org/3/library/stdtypes.html#str.lstrip} 15#' 16#' @seealso \code{\link{pystr_rstrip}} 17#' 18#' @examples 19#' pystr_lstrip(" spacious ") 20#' pystr_lstrip("www.example.com", "w.") 21#' 22#' @export 23pystr_lstrip <- function(str, chars=" ") { 24 return( pystr_lstrip_(str,chars) ) 25} 26