A voir également:
- Ascii & java - urgent svp
- Code ascii - Guide
- Jeux java itel - Télécharger - Jeux vidéo
- Jeux java football - Télécharger - Jeux vidéo
- Java apk - Télécharger - Langages
- Jeux java itel touche ✓ - Forum Logiciels
3 réponses
c'est tout con :
//tu mets ton code ascii dans un char
char myCode=92;
System.out.println(myCode); // tu as bien ton antislash
//et apres tu le transforme en string:
String myAntiSlash = new String();
myAntiSlash=myAntiSlash.valueOf(monChar);
System.out.println(myAntiSlash); // tu as toujours ton antislash
//tu mets ton code ascii dans un char
char myCode=92;
System.out.println(myCode); // tu as bien ton antislash
//et apres tu le transforme en string:
String myAntiSlash = new String();
myAntiSlash=myAntiSlash.valueOf(monChar);
System.out.println(myAntiSlash); // tu as toujours ton antislash