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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -