Usage
dsv_colnames(x, delim = ",", quote = "\"")
Arguments
- x
Delimiter-separated string. A character scalar.
- delim
Single character used to separate fields within x
.
- quote
Single character used to quote strings within x
. Set to NULL
for none.
Value
A character vector of column names.
See also
Other string functions:
as_chr()
,
as_comment_str()
,
as_line_feed_chr()
,
as_str()
,
capitalize_first()
,
enum_str()
,
escape_lf()
,
fuse_regex()
,
prettify_nr()
,
prose_ls()
,
sentenceify()
,
wrap_chr()
Examples
# \donttest{
httr::GET("https://raw.githubusercontent.com/tidyverse/readr/master/inst/extdata/mtcars.csv") |>
httr::content(as = "text") |>
pal::dsv_colnames()# }
#> [1] "mpg" "cyl" "disp" "hp" "drat" "wt" "qsec" "vs" "am" "gear" "carb"