RosettaCodeData/Task/Regular-expressions/R/regular-expressions-3.r

2 lines
34 B
R

regexpr(pattern, c(text1, text2))