Answers for "java string convert to ascii"

1

Convert ASCII to String Java

String str = String.valueOf(Character.toChars(65)); // str ← "A"
Posted by: Guest on April-09-2021
1

string into ascii in java

// A simple cast from String to int will do the job
String me = "a";
int me_ASCII = (int) me;
// 97
Posted by: Guest on April-20-2021

Code answers related to "java string convert to ascii"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language