Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to change a character in a string in java with ascii

// From Char to Ascii
char character = 'a';    
int ascii = (int) character;

// From Ascii to Char
int ascii = 65;
char character = (char) ascii;
 
PREVIOUS NEXT
Tagged: #change #character #string #java #ascii
ADD COMMENT
Topic
Name
6+8 =