A String does not have "an ASCII value". Characters in a String can be represented by ASCII codes (if they are in the range of characters that's defined by ASCII).
You can use the getBytes(...) method of class String to get a byte array that contains the bytes that represent the characters in a string in a particular character set, such as ASCII. See the API documentation.
[ October 17, 2006: Message edited by: Jesper Young ]