3 lines
125 B
R
3 lines
125 B
R
> `{` <- function(s) rev(unlist(strsplit(s, " ")))
|
|
> {"one two three four five"}
|
|
[1] "five" "four" "three" "two" "one"
|