Learn R Programming

emo (version 0.0.0.9000)

ji_replace: Replace emojis in a string

Description

Vectorised over `string` and `replacement`

Usage

ji_replace(string, replacement)

ji_replace_all(string, replacement)

Arguments

string

Input vector

replacement

A character vector of replacements. Should either be of length 1 or the same length as `string`. See [stringr::str_replace()] for details

Value

A character vector