ascii - Java symbol not found when it should be -
here's code:
for(int i=0; i<plaintextupper.length()-1; i++) { system.out.println(charcodeat(i)); } it won't compile though, because says charcodeat's symbol not found. missing library? 1 have imported right java.util.*
assuming java , not javascript, want this:
for(int i=0; i<plaintextupper.length()-1; i++) { system.out.println(plaintextupper.codepointat(i)); } note not process last character of plaintextupper. want either rid of -1 or change comparison operator <= in for termination test.
Comments
Post a Comment