search for: my_book

Displaying 1 result from an estimated 1 matches for "my_book".

Did you mean: macbook
2008 May 13
3
Regular Expressions
Hi R, Again struck with regular expressions... Suppose, S=c("World_is_beautiful", "one_two_three_four","My_book") I need to extract the last but one element of the strings. So, my output should look like: Ans=c("is","three","My") gsub() can do this...but wondering how do I give the regular expression.... Shubha Karanth | Amba Research Ph +91 80 3980 8031...