I have the string (actually it's a date and time) like this `"20120207080000"`.

Is there any option to split the given string using any pattern matching technique or anything else?

i.e I need the output like this 

```
output = ["2012", "02", "07", "08", "00", "00"]

```

Otherwise is it possible to convert the given string into date/time object?. 

ruby version: 1.8.7