splitlast: Last piece after splitting on a separator

View source: R/primitives.R

splitlastR Documentation

Last piece after splitting on a separator

Description

Last piece after splitting on a separator

Usage

splitlast(x, sep, fixed = FALSE)

Arguments

x

An atomic vector.

sep

Separator string.

fixed

Use fixed (non-regex) matching instead of regular expressions.

Value

A character vector.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.