📜  比较 R 中的两个字符串 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:16.245000             🧑  作者: Mango

代码示例1
ifelse(identical(c("a", "s"), c("a", "s")), "Indeed", "Not At All")
# Your question could be solved as:
ifelse(identical(string, reversed_split), "Indeed", "Not At All")