powered by
explode
Takes a string and returns an array of delimited strings (by default, each single character)
umx_explode(delimiter = character(), string)
a vector of strings, e.g. c("d", "o", "g")
what to break the string on. Default is empty string ""
an character string, e.g. "dog"
https://tbates.github.io, https://www.php.net/manual/en/function.explode.php
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_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"
Run the code above in your browser using DataLab