document.open();document.writeln('<div onmouseover="document.getElementById(\'snipt-3497\').style.display = \'block\'; return false;" onmouseout="document.getElementById(\'snipt-3497\').style.display = \'none\'; return false;" style="position: relative;">');document.writeln('<div class="highlight"><pre style="-moz-border-radius: 5px; border-radius: 5px; -webkit-border-radius: 5px; margin: 0; display: block; font: 11px Monaco, monospace !important; padding: 15px; background-color: #1C1C1C; overflow: auto; color: #D0D0D0;"><span style="color: #d0d0d0">string.split(</span><span style="color: #ed9d13">/(\s+)/</span><span style="color: #d0d0d0">).reverse.join(</span><span style="color: #ed9d13">&#39;&#39;</span><span style="color: #d0d0d0">)</span>');document.writeln('');document.writeln('<span style="color: #d0d0d0">=&gt;</span> <span style="color: #ed9d13">&#39; example an is this &#39;</span>');document.writeln('</pre></div>');document.writeln('');document.writeln('<div style="background-color: #111; color: #D0D0D0; float: right; padding: 5px 10px; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; font: 11px Arial,Sans-Serif; display: none; position: absolute; bottom: 0; right: 0;" id="snipt-3497">code hosted by <a href="http://snipt.net/ayresnarita/reverse-the-words-in-a-string?key=8536b871e2ee02c3d09212a55ad73347" style="color: #0084FF; text-decoration: none;">snipt.net</a></div>');document.writeln('</div>');document.close();