Anglais Francais Prosygma 

Italie
-
    hebergement 

asp
prosygma_logo



 Divers (1)  Chaînes (31)  Dates (18)  Nombres (8)  Structures (5) 
 Tableaux (6) 
asc/ord - chr - crunch - cstr/(string) - dosql/addslashes - ereg_replace - htmlspecialchars - instr/strpos - instrrev/strrpos - lcase/strtolower - left - len/strlen - ltrim - mid/substr - nl2br - notag - parcelstr - password - replace/str_replace - right - rtrim - space - string/str_repeat - tarea/htmlentities - trim - ucase/strtoupper - ucfirst - undosql/stripslashes - urldecode - urlencode - wrapstr
RIGHT 
Retourne la partie droite de la chaine
ASP <Doc> 
<%= right(chaine,nombre) %>

PHP
<?
function right($str,$nbr) {
   return substr($str,-$nbr);
}
echo right($chaine,$nombre);
?>

JavaScript
<script>
function right(str,nbr) {
   return str.slice(-nbr)
}
document.write(right(chaine,nombre))

</script>

© ASP-PHP.net 11/01/2003