Converting a string of text into alternate representations (binary, hex, ascii)
- by Terri
In Java, is there a simple method to convert the format of a given string? For example, I have the string "test22". I'd like the binary value and hex value. As well as possibly the ascii values of each character?