Split a String Into Fields

Share:

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

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.