SyntaxFix
Write A Post
Hire A Developer
Questions
just a different approach
String s = "admin"; byte[] bytes = s.getBytes("US-ASCII");
bytes[0] will represent ascii of a.. and thus the other characters in the whole array.
bytes[0]