re = "(?<=\\G.{2})"; str = "splitstring"; strsplit(str, re, perl=T)
Standard input is empty
[[1]] [1] "sp" "li" "ts" "tr" "in" "g"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!