Learn R Programming

stringi (version 0.1-25)

stri_split: Split a String Into Fields

Description

A convenience function. Calls either stri_split_regex, stri_split_fixed, or stri_split_charclass, depending on the argument used.

Unless you are a very lazy person, please call the underlying functions directly for better performance.

Usage

stri_split(str, ..., regex, fixed, charclass)

Arguments

str
character vector of strings to be split
...
additional arguments passed to the underlying functions
regex
character vector; regular expressions
fixed
character vector; fixed patterns
charclass
character vector; identifiers of character classes

Value

  • Returns a list of character vectors.

See Also

Other search_split: stri_split_charclass, stri_split_charclass; stri_split_fixed, stri_split_fixed; stri_split_lines, stri_split_lines, stri_split_lines1, stri_split_lines1; stri_split_regex, stri_split_regex; stringi-search