I have a string like this (YYYYMMDD):
20120225
And I want to have a string like this (MM/DD/YYYY):
02/25/
Just for fun how about:
'20120225'.unpack('A4A2A2').rotate.join('/')