h2o (version 3.2.0.3)

h2o.sub: String Substitute

Description

Mutates the input. Changes the first occurence of pattern with replacement.

Usage

h2o.sub(pattern, replacement, x, ignore.case = FALSE)

Arguments

pattern
The pattern to replace.
replacement
The replacement pattern.
x
The column on which to operate.
ignore.case
Case sensitive or not