Puoi farlo in innumerevoli linguaggi di programmazione ed in innumerevoli modi.
Eccotene uno in PHP 5.2.9
Codice PHP:
<?php

function EchoReverseStringRecursive (&$theString$theLength){
    
assert ('true == isset ($theString)');
    
assert ('true == isset ($theLength)');
    if (
$theLength 0){
        echo 
$theString [$theLength 1];
        
EchoReverseStringRecursive ($theString$theLength 1);
    }
}

function 
main (){
    
$aString "Hello World!";
    
EchoReverseStringRecursive ($aStringstrlen ($aString));
    echo 
"\n";
}
main ();
?>
che in output produce:
codice:
$ php -f main.php 
!dlroW olleH
;-)