string2words {fritools} | R Documentation |
Convert a Character Vector Into an Enumeration
Description
Convert a Character Vector Into an Enumeration
Usage
string2words(x, separator = ",", last = "and", add_whitespace = TRUE)
Arguments
x |
A |
separator |
A separator used for the enumeration. |
last |
The separator used last for the enumeration. |
add_whitespace |
Add whitespace after separators? |
Value
A data.frame
.
See Also
Other bits and pieces:
char2factor()
,
golden_ratio()
,
is_difftime_less()
,
is_valid_primary_key()
,
pause()
,
r_cmd_install()
,
rownames2col()
,
str2num()
,
strip_off_attributes()
,
tapply()
,
throw()
Examples
string2words(c("beech", "oak", "ash"))
[Package fritools version 4.4.0 Index]