strsplit3 {cladoRcpp} | R Documentation |
strsplit
returns the results inside a list, which is annoying. strsplit3
shortens the process.
strsplit3(x, ...)
x |
A string to split |
... |
Other arguments to |
out
The output from inside the list.
Nicholas J. Matzke matzke@berkeley.edu
# strsplit returns the results inside a list element
out = strsplit("ABC", split="")
out
# I.e....
out[[1]]
# If this is annoying/ugly in the code, use strsplit3:
out = strsplit3("ABC", split="")
out