strsplit3 {cladoRcpp} | R Documentation |
String splitting shortcut
Description
strsplit
returns the results inside a list, which is annoying. strsplit3
shortens the process.
Usage
strsplit3(x, ...)
Arguments
x |
A string to split |
... |
Other arguments to |
Value
out
The output from inside the list.
Author(s)
Nicholas J. Matzke matzke@berkeley.edu
See Also
Examples
# 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
[Package cladoRcpp version 0.15.1 Index]