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
UCFIRST 
Retourne la chaîne avec l'initiale en majuscule
ASP
<%
function ucfirst(str)
   ucfirst = ucase(left(str,1)) & mid(str,2)
end function
response.write ucfirst(chaine)
%>

PHP <Doc> 
<? echo ucfirst($chaine); ?>

JavaScript
<script>
function ucfirst(str) {
   return str.substr(0,1).toUpperCase()+str.substr(1)
}
document.write(ucfirst(chaine))
</script>

© ASP-PHP.net 11/01/2003