strWrapAll: Wraps every occurence of the pattern with a prefix and a...

View source: R/str.R

strWrapAllR Documentation

Wraps every occurence of the pattern with a prefix and a suffix. Non-vectorized, the arguments are expected to be scalars (atoms).

Description

Wraps every occurence of the pattern with a prefix and a suffix. Non-vectorized, the arguments are expected to be scalars (atoms).

Usage

strWrapAll(s, pattern, prefix, suffix, ignoreCase = TRUE)

Arguments

s

a string to transform

pattern

describing the pieces of s to wrap

prefix

: chString

suffix

: chString

ignoreCase

: chBool

Value

a transformed string


kongra/kongRa documentation built on Jan. 18, 2025, 4:34 a.m.