Do you know any functions that provide the same as ord and chr from Python in Java.
ord
chr
Python docs on them.
I tried it manually, but it seems to have received so many errors. This should work with Strings not just char . It is clear that I will see if there is a function to do this in advance.
Strings
char
thanks
You can use:
c = (char) n; n = (int) c;