Skip to main content

builtin_strsplit

Function builtin_strsplit 

Source
fn builtin_strsplit(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Split strings by a pattern or fixed delimiter.

Vectorized over x: returns a list with one element per input string.

@param x character vector to split @param split character scalar: pattern or fixed string to split on @param fixed logical: if TRUE, split is a literal string @param ignore.case logical: if TRUE, matching is case-insensitive @return list of character vectors, one per input string