logicalOperation <- "AND(Cake,OR(Birthday,Anniversary))"
stringList <- c("The cake at the birthday was awesome."
,"Their anniversary was last week.")
processLogiOper(logicalOperation, stringList)
Run the code above in your browser using DataLab