no save
Assistance
Achat
News

Forum | programmation
[java] manipulation de string
kilian, le sam. 02 déc. 2006 à 13:09:00
Salut,

Oui avec la methode charAt() qui retourne un char
Exemple:
String prenom="eliah";
System.out.println(prenom.charAt(0)); //Affiche e

Précédenteliah
déc. 06
pierre
déc. 06
Suivant
REPONSES
kilian
déc. 06
pierre
déc. 06
eliah
déc. 06
kilian
déc. 06
eliah
déc. 06
Version Web
Réalisé par RedShift
no save