Learn R Programming

whisker (version 0.4.1)

rxsplit: Split a character in three parts

Description

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

Usage

rxsplit(x, pattern)

Arguments

x

character text to be split

pattern

pattern used for splitting