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

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -