Skip to main content

builtin_ends_with

Function builtin_ends_with 

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

Test whether strings end with a given suffix.

Vectorized over both x and suffix with recycling.

@param x character vector to test @param suffix character vector: the suffix(es) to look for @return logical vector indicating which elements end with the suffix