Closed
Description
Replacement for #1166.
grepl("^a_fixed_string$", x)
is the same as x == "a_fixed_string"
, rather than being replaced with startsWith()
or endsWith()
, ==
is a better replacement.
Replacement for #1166.
grepl("^a_fixed_string$", x)
is the same as x == "a_fixed_string"
, rather than being replaced with startsWith()
or endsWith()
, ==
is a better replacement.