Partition a string.
Split the string at the first occurrence of
sep, and return a list of character vectors containing the part
before the separator, the separator itself, and the part after the separator.
A character vector.
A character string.
If the separator is not found, return a character vector containing the string itself, followed by two empty strings.
A list of character vectors.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.