powered by
fetch character from strings
fetch_char(s, index_list, na.rm = FALSE, collapse = FALSE)
list of characters
strings
index of nth character, can be output of diff_index or same_index
diff_index
same_index
remove NA values from results or not
optional string used to combine the characters from a same string
fetch_char(rep("ABC", 3), list(1, 2, 3))
Run the code above in your browser using DataLab