str <- c("Veni vidi vici")gsub(".*\\s","",str)## => [1] "vici"
Standard input is empty
[1] "vici"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!