umx_explode | R Documentation |
explode
)Takes a string and returns an array of delimited strings (by default, each single character)
umx_explode(delimiter = character(), string)
delimiter |
what to break the string on. Default is empty string "" |
string |
an character string, e.g. "dog" |
a vector of strings, e.g. c("d", "o", "g")
Other String Functions:
umx_explode_twin_names()
,
umx_grep()
,
umx_names()
,
umx_paste_names()
,
umx_rot()
,
umx_str_chars()
,
umx_str_from_object()
,
umx_trim()
,
umx
umx_explode("", "dog") # "d" "o" "g"
umx_explode(" ", "cats and dogs") # [1] "cats" "and" "dogs"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.