stringi (version 0.2-5)

stri_split: Split a String Into Fields

Description

A convenience function. Calls either stri_split_regex, stri_split_fixed, stri_split_coll, 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, coll, 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
coll
character vector; canonically equivalent patterns
charclass
character vector; identifiers of character classes

Value

  • Returns a list of character vectors.

See Also

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