line = "splitstring"puts line.split(/(?<=\G.{2})/)
Standard input is empty
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!