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

2 lines
48 B
R
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
gsub(pattern, "pair of socks", c(text1, text2))