rxsplit function

Split a character in three parts

Split a character in three parts

It differs from strsplit in that it only splits on the first occurrence and returns all parts of the string given

rxsplit(x, pattern)

Arguments

  • x: character text to be split
  • pattern: pattern used for splitting