rg_sub: extracting substring match using regexpr

rg_subR Documentation

extracting substring match using regexpr

Description

extract the first portion of matched substring

Usage

rg_sub(pattern, text, ...)

Value

Character vector of the regex matched portions of the input string vector


kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.